Closed
Description
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
Documentation problem
pandas.DataFrame.fillna > Parameters > method
> ⚠️ values list
pandas/pandas/core/arrays/base.py
Lines 774 to 778 in ebfcad1
pandas.DataFrame.dropna > Parameters > axis
> ✔ values list
Lines 6352 to 6357 in ebfcad1
ℹ️ Also #49529 is probably related
Suggested fix for documentation
The problem could be the missing space after the colon. e.g. change
* value: description
to
* value : description
Then the fix would be:
* pad / ffill : propagate last valid observation forward to next valid.
* backfill / bfill : use NEXT valid observation to fill gap.
or it could be the missing single quotes around the values. e.g. change
* value: description
to
* 'value': description
Then the fix would be:
* 'pad / ffill': propagate last valid observation forward to next valid.
* 'backfill / bfill': use NEXT valid observation to fill gap.