-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
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 actioninplaceRelating to inplace parameter or equivalentRelating to inplace parameter or equivalent
Description
Currently DataFrame.update()
modifies the dataframe in place. I feel this is not symmetric to how most other methods work, e.g. set_index()
, that returns a new DataFrame
. It is probably too late to change this default behavior (isi it?), but if at the very least an inplace
option was added (with default value True
to support the current behaviour), it will be easier to chain a sequence of operators that includes update()
.
giuliobeseghi, prosper-ia and peterhadlaw
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 actioninplaceRelating to inplace parameter or equivalentRelating to inplace parameter or equivalent