Skip to content

Commit 3065b17

Browse files
committed
DOC: Reorder arguments in shared fillna docstring
The docstring listed 'method' before 'value' which is not consistent with the order of the arguments when calling the method.
1 parent dc430c5 commit 3065b17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/generic.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -2398,15 +2398,15 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
23982398
23992399
Parameters
24002400
----------
2401-
method : {'backfill', 'bfill', 'pad', 'ffill', None}, default None
2402-
Method to use for filling holes in reindexed Series
2403-
pad / ffill: propagate last valid observation forward to next valid
2404-
backfill / bfill: use NEXT valid observation to fill gap
24052401
value : scalar, dict, Series, or DataFrame
24062402
Value to use to fill holes (e.g. 0), alternately a dict/Series/DataFrame of
24072403
values specifying which value to use for each index (for a Series) or
24082404
column (for a DataFrame). (values not in the dict/Series/DataFrame will not be
24092405
filled). This value cannot be a list.
2406+
method : {'backfill', 'bfill', 'pad', 'ffill', None}, default None
2407+
Method to use for filling holes in reindexed Series
2408+
pad / ffill: propagate last valid observation forward to next valid
2409+
backfill / bfill: use NEXT valid observation to fill gap
24102410
axis : %(axes_single_arg)s
24112411
inplace : boolean, default False
24122412
If True, fill in place. Note: this will modify any

0 commit comments

Comments
 (0)