Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork18.5k
Closed
Description
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/docs/dev/reference/api/pandas.Series.name.html
- https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.pivot.html
Documentation problem
In the documentation,Series.name
isjust required to be aHashable
. Whenpandas
functions ask for a column label, however, it often asks for anstr
, e.g. inDataFrame.pivot, where it says
columns:str or object or a list of str
Suggested fix for documentation
UseHashable
everywhere to column labels as a function argument