Issues
state:open label:replace
state:open label:replace
Search results
BUG?: using <code>None</code> as replacement value in <code>replace()</code> typically upcasts to object dtype
API - ConsistencyInternal Consistency of API/BehaviorInternal Consistency of API/BehaviorMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatereplacereplace methodreplace methodStatus: Open.#60284 In pandas-dev/pandas;BUG: df.replace() with list of regex sometimes fails with column of null objects
Missing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatereplacereplace methodreplace methodStatus: Open.#54399 In pandas-dev/pandas;REF/PERF: replace with ArrowEA
Arrowpyarrow functionalitypyarrow functionalityPerformanceMemory or execution speed performanceMemory or execution speed performancereplacereplace methodreplace methodStatus: Open.#53711 In pandas-dev/pandas;BUG: pd.replace changes dtype when using a dict to replace values even when there are no matches
Dtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsreplacereplace methodreplace methodStatus: Open.#53539 In pandas-dev/pandas;BUG: <code>pandas.DataFrame.replace</code> silently fails to replace category type columns.
CategoricalCategorical Data TypeCategorical Data TypeMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas versionreplacereplace methodreplace methodStatus: Open.#52571 In pandas-dev/pandas;BUG: <code>replace</code> inconsistency with <code>np.nan</code> & <code>pd.NA</code>
Missing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateNA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arraysPDEP missing valuesIssues that would be addressed by the Ice Cream Agreement from the Aug 2023 sprintIssues that would be addressed by the Ice Cream Agreement from the Aug 2023 sprintreplacereplace methodreplace methodStatus: Open.#51237 In pandas-dev/pandas;- Status: Open.#50373 In pandas-dev/pandas;
API: replace casting dtype instead of converting NA value when replacing missing value with another missing value
API - ConsistencyInternal Consistency of API/BehaviorInternal Consistency of API/BehaviorDtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsreplacereplace methodreplace methodStatus: Open.#49421 In pandas-dev/pandas;BUG: <code>Series.replace</code> converts <code>np.nan</code> into <code>pd.NaT</code> implicitly
Dtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas versionreplacereplace methodreplace methodStatus: Open.#48034 In pandas-dev/pandas;BUG: AttributeError: 'bool' object has no attribute 'to_numpy' in "mask_missing" method of core/missing.py
ConstructorsSeries/DataFrame/Index/pd.array ConstructorsSeries/DataFrame/Index/pd.array ConstructorsRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas versionreplacereplace methodreplace methodSubclassingSubclassing pandas objectsSubclassing pandas objectsStatus: Open.#47101 In pandas-dev/pandas;DOC: replace() method documentation is not clear for confliciting/overlapping dict-based substitutions
replacereplace methodreplace methodStatus: Open.#46414 In pandas-dev/pandas;BUG: Series.replace with to_replace dict and value=None, nonsensical error message
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasreplacereplace methodreplace methodSeriesSeries data structureSeries data structureStatus: Open.#46004 In pandas-dev/pandas;