Skip to content

DOC: #54715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
sshourie opened this issue Aug 23, 2023 · 3 comments · Fixed by #54828
Closed
1 task done

DOC: #54715

sshourie opened this issue Aug 23, 2023 · 3 comments · Fixed by #54828
Assignees
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@sshourie
Copy link

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/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
@sshourie sshourie added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Aug 23, 2023
@thiagogquinto
Copy link
Contributor

take

@thiagogquinto
Copy link
Contributor

Hello, I took this task because I am new in the open source community, therefore I thought that would be good to get a simple one, but I am not being able to find the doc to update, could you help me to find it? But only if you already know where to look.

@Moisan
Copy link
Contributor

Moisan commented Aug 27, 2023

@thiagogquinto a search of Name to use for the ‘value’ column. in the repository will point you to these lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants