ENH: Add area_limit
to `fillna
#60161
Labels
Enhancement
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Needs Discussion
Requires discussion from core team before further action
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
The pandas methods
interpolate
,ffill
andbfill
all have thearea_limit
options, however,fillna
does not. It would be nice to add this.Feature Description
Alternative Solutions
Interpolate with
method='constant'
. The somewhat obvious downsides to this are thatconstant
isn't included in the scipy interpolation API.Additional Context
See #56492 for this functionality added to
ffill
andbfill
. It would be nice to have better API consistency between thee methods and alsointerpolate
.The text was updated successfully, but these errors were encountered: