Skip to content

Commit b24e488

Browse files
committed
Lint and doc fix
1 parent d83246c commit b24e488

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v0.21.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ New features
2525
- Added `__fspath__` method to :class`:pandas.HDFStore`, :class:`pandas.ExcelFile`,
2626
and :class:`pandas.ExcelWriter` to work properly with the file system path protocol (:issue:`13823`)
2727
- Added `limit_area` parameter to `DataFrame.interpolate()` method allowing further control of which NaNs are replaced.
28-
Use `limit-area='inside'` to fill only NaNs surrounded by valid values or use `limit-area='outside'` to fill only NaNs outside the existing valid values while preserving those inside. (:issue:`16284`)
28+
Use `limit_area='inside'` to fill only NaNs surrounded by valid values or use `limit_area='outside'` to fill only NaNs outside the existing valid values while preserving those inside. (:issue:`16284`)
2929
Full documentation and examples are :ref:`here <missing_data.interp_limits>`.
3030

3131
.. _whatsnew_0210.enhancements.other:

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3884,7 +3884,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
38843884
Maximum number of consecutive NaNs to fill. Must be greater than 0.
38853885
limit_direction : {'forward', 'backward', 'both'}, default 'forward'
38863886
Consecutive NaNs will be filled in this direction.
3887-
3887+
38883888
.. versionadded:: 0.17.0
38893889
38903890
limit_area : {'inside', 'outside'}, default None

0 commit comments

Comments
 (0)