Skip to content

Commit 6879598

Browse files
authored
DOC: change pandas.DataFrame.unstack's fill_value param to scalar (#61459)
change fill_value param to scalar
1 parent ae8ea3e commit 6879598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9858,7 +9858,7 @@ def unstack(
98589858
----------
98599859
level : int, str, or list of these, default -1 (last level)
98609860
Level(s) of index to unstack, can pass level name.
9861-
fill_value : int, str or dict
9861+
fill_value : scalar
98629862
Replace NaN with this value if the unstack produces missing values.
98639863
sort : bool, default True
98649864
Sort the level(s) in the resulting MultiIndex columns.

0 commit comments

Comments
 (0)