Skip to content

EswarR - #14248

Closed
EswarR99 wants to merge 1 commit into
numpy:masterfrom
EswarR99:EswarR
Closed

EswarR#14248
EswarR99 wants to merge 1 commit into
numpy:masterfrom
EswarR99:EswarR

Conversation

@EswarR99

Copy link
Copy Markdown

Added link to description of the command numpy.take_along_axis

@seberg

seberg commented Aug 10, 2019

Copy link
Copy Markdown
Member

Thank you @EswarR99! Unfortunately, we already have gh-14224 open about it, and it is a bit further along probably, so I will close this, sorry.

@seberg seberg closed this Aug 10, 2019
Comment thread numpy/core/fromnumeric.py
See Also
--------
ndarray.choose : equivalent method
numpy.take_along_axis : link:https://docs.scipy.org/doc/numpy-1.15.1/reference/generated/numpy.take_along_axis.html

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If truly needed, this should be simply take_along_axis with no numpy prefix and no : <link> since the link is created automagically by sphinx.

Why did you specify take_along_axis and not take and general indexing (which are ways to index a single ndarray)?

choose is a method to combine values from multiple arrays, why should they cross-reference methods for a single array?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants