ENH: DataFrame.interpolate limit to support all-or-none filling #42291
Labels
Enhancement
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Needs Discussion
Requires discussion from core team before further action
Currently with
df.interpolate(limit, limit_direction)
, I must choose 1 or both sides to fill when I am limiting the interpolation. What I find more useful is a all-or-none strategy rather than only fill up to the limit count, so I can fill up some short-term missing data and keep long-term missing data to be filtered after. Demonstrated as here:The text was updated successfully, but these errors were encountered: