Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: axis argument for take says None is acceptable, but that is incorrect. #61408

Copy link
Copy link
Closed
@Dr-Irv

Description

@Dr-Irv
Issue body actions

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.take.html#pandas.DataFrame.take

Documentation problem

The axis argument is documented as: "axis {0 or ‘index’, 1 or ‘columns’, None}, default 0" . But None is not accepted. So it should be removed from the docs.

See pandas-dev/pandas-stubs#1209 (comment) for an example.

Suggested fix for documentation

Remove None from that sentence.

Metadata

Metadata

Assignees

Labels

AlgosNon-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diffNon-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diffDocs

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.