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
In the documentation, Series.name is just required to be a Hashable. When pandas functions ask for a column label, however, it often asks for an str, e.g. in DataFrame.pivot, where it says
columns: str or object or a list of str
Suggested fix for documentation
Use Hashable everywhere to column labels as a function argument
The text was updated successfully, but these errors were encountered:
Pandas version checks
main
hereLocation of the documentation
Documentation problem
In the documentation,
Series.name
is just required to be aHashable
. Whenpandas
functions ask for a column label, however, it often asks for anstr
, e.g. in DataFrame.pivot, where it saysSuggested fix for documentation
Use
Hashable
everywhere to column labels as a function argumentThe text was updated successfully, but these errors were encountered: