-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Closed
Labels
DocsNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
mainhere
Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.melt.html
Documentation problem
When value_name is an existing column name, a ValueError is raised. The args documentation doesn't mention this.
Suggested fix for documentation
Update the value_name documentation from:
value_name: scalar, default ‘value’
Name to use for the ‘value’ column.
to something like
value_name: scalar, default ‘value’
Name to use for the ‘value’ column. Can't be an existing column name
Metadata
Metadata
Assignees
Labels
DocsNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member