Skip to content

Commit b7319c1

Browse files
DOC: update information of parameter value_name of pandas.melt (#54828)
* doc: updating explanation of parameter value_name to prevent error * update wording for clarity * fix spell * update with the suggested change
1 parent 3c041bc commit b7319c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/shared_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
Name to use for the 'variable' column. If None it uses
214214
``frame.columns.name`` or 'variable'.
215215
value_name : scalar, default 'value'
216-
Name to use for the 'value' column.
216+
Name to use for the 'value' column, can't be an existing column label.
217217
col_level : int or str, optional
218218
If columns are a MultiIndex then use this level to melt.
219219
ignore_index : bool, default True

0 commit comments

Comments
 (0)