-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Open
Labels
EnhancementMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action
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.
Metadata
Metadata
Assignees
Labels
EnhancementMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action