You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use python set as elelments of a numpy array, the behavior of numpy.apply_along_axis function is not what expected. For example, I want to get the union set for each column using the following codes:
Uh oh!
There was an error while loading. Please reload this page.
When I use python set as elelments of a numpy array, the behavior of numpy.apply_along_axis function is not what expected. For example, I want to get the union set for each column using the following codes:
i.e. I expect to get a result like:
however, the result is:
The expected result was repeated 4 times, which is determined by the first element, actually it equals to the length of the first element.
Can this be viewed as a bug? Anyway it is different with the way of the "apply" function in R language.
York
The text was updated successfully, but these errors were encountered: