-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
EnhancementExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.NA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arrays
Description
ser = pd.Series([1, 2, None, 4], dtype="Int64")
>>> ser.interpolate()
[...]
ValueError: Invalid fill method. Expecting pad (ffill) or backfill (bfill). Got linearEABackedBlock.interpolate dispatches to EA.fillna, which doesn't handle method="linear". Getting this right probably will require implementing something new at the EA level.
Expected Behavior
pd.Series([1, 2, 3, 4])
Metadata
Metadata
Assignees
Labels
EnhancementExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.NA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arrays