Open
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
The pandas methods interpolate
, ffill
and bfill
all have the area_limit
options, however, fillna
does not. It would be nice to add this.
Feature Description
DataFrame.fillna(value=None, *, method=None, axis=None, inplace=False, limit=None, area_limit=None, downcast=<no_default>)
Alternative Solutions
Interpolate with method='constant'
. The somewhat obvious downsides to this are that constant
isn't included in the scipy interpolation API.
Additional Context
See #56492 for this functionality added to ffill
and bfill
. It would be nice to have better API consistency between thee methods and also interpolate
.