BUG: interpolate with ffill/bfill method, axis=1, multi-block #53898
Labels
Bug
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Multi-Block
Issues caused by the presence of multiple Blocks
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
This operates block-by-block and fails to fill across blocks.
I'd expect this to behave like
df.T.interpolate(method="ffill").T
That is what we do in NDFrame._pad_or_backfill. Note that it doesn't play nicely with the "downcast" keyword.This value for "method" is deprecated, but still might be worth doing something about in the interim.
Expected Behavior
NA
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: