Closed
Description
Document removed deprecations, originally indicated in #6581. This reference is in reverse chronological order of release.
1.0.0
- ENH: provide "inplace" argument to set_axis() #16994
inplace
arg to.set_axis()
(0.21.0) (DEPR: NDFrame.set_axis inplace defaults to false #27525) - DEPR: deprecate .get_value and .set_value for Series, DataFrame, Panel & Sparse #17739
.get_value()
and.set_value()
(0.21.0) (DEPR: remove previously-deprecated get_value, set_value #27377) - DEPR: list-likes of list-likes in str.cat #22264 list-likes IN
str.cat
(0.24.0) (DEPR: execute deprecations for str.cat in v1.0 #27611) - ENH: Add dtype parameter to IntervalIndex constructors and deprecate from_intervals #19339
IntervalIndex.from_intervals
(0.23.0) DEPR: Remove previously deprecated IntervalIndex.from_intervals #27793 - DEPR: enforce nested-renaming deprecation #29608 support for nested renamers in
aggregate
- MAINT: tm.assert_raises_regex --> pytest.raises #23592 tm.assert_raises_regex (0.24.0) (Removed raise_from_traceback #29174)
- DEPR: deprecate default of keep_tz=False of DatetimeIndex.to_series #23739 keep_tz=False in DatetimeIndex.to_series (0.24.0) (DEPR: change DTI.to_series keep_tz default to True #29731)
- DEPR: Add deprecation warning for factorize() order keyword #19751 factorize(order=) kwarg (0.23.0) (DEPR: enforce deprecations for kwargs in factorize, FrozenNDArray.ser… #29732)
- MAINT: Standardize searchsorted signature #22672 FrozenNDArray.searchsorted signature (v → value) (0.24.0) (DEPR: enforce deprecations for kwargs in factorize, FrozenNDArray.ser… #29732)
- API/DEPR: replace raise_conflict-kwarg in df.update with errors #23585 raise_conflic kwarg replaced by errors in .update() (0.24.0) (DEPR: enforce deprecations for kwargs in factorize, FrozenNDArray.ser… #29732)
- Inconsistent keyword argument name for the 'periods' in pandas.Index.shift for a DatetimeIndex #22458 Index.shift n in favor of periods (0.24.0) (DEPR: enforce deprecations for kwargs in factorize, FrozenNDArray.ser… #29732)
- DEPR: Deprecate skip_footer in read_excel #18836 skip_footer in pd.read_excel (0.23.0) (DEPR: remove deprecated keywords in read_excel, to_records #29721)
- DEPR: convert_datetime64 parameter in to_records() #18902 convert_datetime64 in DataFrame.to_records (0.23.0) (DEPR: remove deprecated keywords in read_excel, to_records #29721)
- pandas/io/feather_format.py should call use_threads instead of nthreads to prevent breakage in pyarrow 0.11.0 #23053 nthreads arg in read_feather (0.24.0) (DEPR: remove nthreads kwarg from read_feather #29728)
- DEPR: Deprecate NDFrame.as_matrix #18458 DataFrame/Series.as_matrix (0.23.0) (DEPR: remove Series.from_array, DataFrame.from_items, as_matrix, asobject, as_blocks, blocks #29720)
- DEPR: deprecate (Sparse)Series.from_array #18258 Series.from_array (0.23.0) (DEPR: remove Series.from_array, DataFrame.from_items, as_matrix, asobject, as_blocks, blocks #29720)
- DEPR: deprecate publicfacing .asobject #18477 .asobject (0.23.0) (DEPR: remove Series.from_array, DataFrame.from_items, as_matrix, asobject, as_blocks, blocks #29720)
- DEPR: deprecate .as_blocks() #17656 DataFrame.blocks, DataFrame.as_blocks() (0.21.0) (DEPR: remove Series.from_array, DataFrame.from_items, as_matrix, asobject, as_blocks, blocks #29720)
- DEPR: Deprecate from_items #18529 DataFrame.from_items (0.23.0) (DEPR: remove Series.from_array, DataFrame.from_items, as_matrix, asobject, as_blocks, blocks #29720)
- CLN: deprecate/remove the pandas.tseries.plotting.tsplot function #18627 tseries.plotting.tsplot (0.23.0) (DEPR: remove tsplot #29726)
- MAINT: Deprecate encoding from stata reader/writer #21400 encoding arg in read_stata (0.24.0) (DEPR: remove encoding kwarg from read_stata, DataFrame.to_stata #29722)
- API/BUG: .apply will correctly infer output shape when axis=1 #18577 broadcast & reduce kwarg in .apply() (0.23.0) (DEPR: remove reduce kwd from DataFrame.apply #29730)
- CLN: Remove/deprecate unused/misleading dtype functions #23917 pd.types.is_period, pd.types.is_datetimetz (0.24.0) (DEPR: remove is_period, is_datetimetz #29744)
- DEPR: Deprecate Series.valid #18800 Series.valid (0.23.0) (DEPR: remove Series.valid, is_copy, get_ftype_counts, Index.get_duplicate, Series.clip_upper, clip_lower #29724)
- DEPR: Deprecate is_copy (#18801) #18812 .is_copy (0.23.0) (DEPR: remove Series.valid, is_copy, get_ftype_counts, Index.get_duplicate, Series.clip_upper, clip_lower #29724)
- DEPR: deprecate get_ftype_counts #18243 .get_ftype_counts() (0.23.0) (DEPR: remove Series.valid, is_copy, get_ftype_counts, Index.get_duplicate, Series.clip_upper, clip_lower #29724)
- DEPR: Index.get_duplicates #20239 .get_duplicates() (0.23.0) (DEPR: remove Series.valid, is_copy, get_ftype_counts, Index.get_duplicate, Series.clip_upper, clip_lower #29724)
- DEPR: Deprecating .clip_lower and .clip_upper #24203 Series.clip_lower, Series.clip_upper, DataFrame.clip_lower and DataFrame.clip_upper (0.24.0) (DEPR: remove Series.valid, is_copy, get_ftype_counts, Index.get_duplicate, Series.clip_upper, clip_lower #29724)
- Add default repr for EAs #23601 ExtensionArray._formatting_values (0.24.0) ( DEPR: Removed the previously deprecated ExtensionArray._formatting_values #27774)
- DEPR: SparseDataFrame and SparseSeries subclasses #19239/Deprecate SparseDataFrame and SparseSeries #26137 SparseSeries, SparseDataFrame (0.25) (Remove SparseSeries and SparseDataFrame #28425)
- [#19431] Regression in make_block_same_class (tests failing for new fastparquet release) #19434 dtype arg in make_block_same_klass (0.23.0) (DEPR: enforce deprecations in core.internals #29723)
- Remove unused fastpath kwarg from Blocks #19265 fastpath arg in Block (0.23.0) (DEPR: enforce deprecations in core.internals #29723)
- Deprecate Index.summary #18217 Index.summary() (0.23.0) (0.25.1 pandas.core.frame.DataFrame.eval() erroring-out on Python 3.7 (but not on Python 3.6) #29819
- DEPR: Deprecate usecols as int in read_excel #23635 passing an int for usecols in read_excel (0.24.0) (DEPR: passing an int to read_excel use_cols #29795)
- BUG: Fix freq setter for DatetimeIndex/TimedeltaIndex and deprecate for PeriodIndex #20772 .freq setting on a datetimelike index (0.23.0) (DEPR: setting DTI.freq, DTI.offset, DTI.asobject #29801)
- DEPR: Deprecate DatetimeIndex.offset in favor of DatetimeIndex.freq #20730 DatetimeIndex.offset (0.23.0) (DEPR: setting DTI.freq, DTI.offset, DTI.asobject #29801)
- API: rename MultiIndex.labels to MultiIndex.codes #23752 MultiIndex constructor kwarg labels, and .set_lables() deprecated in favor of codes (0.24.0) (DEPR: MultiIndex.to_hierarchical, labels #29766)
- DEPR: MultiIndex.to_hierarchical #21613 MultiIndex.to_hierarachial (0.24.0) (DEPR: MultiIndex.to_hierarchical, labels #29766)
- Stop concat from attempting to sort mismatched columns by default #20613 pd.concat(...., sort=) (0.23.0) (DEPR: change pd.concat sort=None to sort=False #29786)
- Warn on ndarray[int] // timedelta #21036 floordiv integer ndarray and Timedelta (0.23.0) (DEPR: Timedelta.__rfloordiv__(int_dtype) #29797)
- DEPR: Deprecate Series.to_csv signature #21896 Series.to_csv signature changes (0.24.0) (DEPR: Series.to_csv signature change #29809)
- API: rolling.apply will pass Series to function #20584
Series.rolling.apply
etc for theraw
parameter (0.23.0) (DEPR: Change raw kwarg in rolling/expanding.apply to False #29829) - DEPR: deprecate fastpath keyword in Index constructors #23110 fastpath keyword in Index constructors (0.24.0) (DEPR: remove Index fastpath kwarg #29725)
- BUG/REF: TimedeltaIndex.__new__ #23539 allowing datetime64 data passed to TimedeltaIndex (0.24.0) (DEPR: passing td64 data to DTA or dt64 data to TDA #29794)
- DEPR: passing timedelta-like to DatetimeIndex constructor, xref #23675 #23937 allowing timedelta64 data passed to DatetimeIndex (0.24.0) (DEPR: passing td64 data to DTA or dt64 data to TDA #29794)
- Deprecated Series.ftype, Series.ftypes and DataFrame.ftypes features #26744 DataFrame.ftypes, Series.ftype (0.25.0) (DEPR: ftype, ftypes #29895)
- DEPR: deprecate default of skipna=False in infer_dtype #24050 lib.infer_dtype(...., skipna=None (0.24.0) (DEPR: infer_dtype default for skipna is now True #29876)
- CategoricalAccessor.categorical removed in 0.24.0rc1 #24751 Series.cat.categorical (0.24.0) (DEPR: Series.cat.categorical, Series.cat.index, Series.cat.name #29914)
- ENH: Return locale based month_name and weekday_name values (#12805, #12806) #18164 DTI.weekday_name and .dt.weekday_nam (0.23.0) (DEPR: Remove weekday_name #29831)
- API/ENH: tz_localize handling of nonexistent times: rename keyword + add shift option #22644 from
Timestamp.tz_localize
,DatetimeIndex.tz_localize
,Series.dt.tz_localize
remove errors keyword, replaced by nonexistent / ambiguous (0.24.0) (DEPR: Remove errors argument in tz_localize #29911) - DEPR: deprecate Timedelta.resolution #26839 change Timedelta.resolution to Timedelta.resolution_string (0.25.0) (BUG/DEPR: Timestamp/Timedelta resolution #29910)
- COMPAT: Emit warning when groupby by a tuple #18731 listifying tuples for groupby (0.23.0) (Remove Ambiguous Behavior of Tuple as Grouping #29755)
- BUG/DEPR: deprecate Categorical take default behaviour + fix Series[categorical].take #20841 Categorical.take default behaviour with -1 (0.23.0) (DEPR: categorical.take allow_fill default #29912)
- REF/API: DatetimeTZDtype #23990 passing dtype alias to DatetimeTZDtype(unit) parameter (0.24.0) (DEPR: passing str alias to in DatetimeTZDtype #29927)
- BUG/Perf: Support ExtensionArrays in where #24114 Categorical where casting to object (0.24.0) (DEPR: CategoricalBlock.where casting to object #29913)
- DEPR: Deprecate FrozenNDArray #23396 FrozenNDArray (0.24.0) (DEPR: remove FrozenNDarray #29840)
- API/WIP: .sorted #10726 DataFrame.sort_index by keyword (0.17.0) (DEPR: DataFrame.sort_index by keyword #29931)
- API: warning to raise KeyError in the future if not all elements of a list are selected via .loc #17295 reindexing for not-found in .loc (0.21.0) (DEPR: loc with listlikes with missing elements #29802)
- No warning is raised by MultiIndex when .loc is called with list containing missing keys #17758 non-existant keys in MultiIndex (xref to API: warning to raise KeyError in the future if not all elements of a list are selected via .loc #17295 for Index) (0.23.0) (DEPR: loc with listlikes with missing elements #29802)
- API: warning to raise KeyError in the future if not all elements of a list are selected via .loc #17295 non-existant columns in .to_excel() & non-existant keys in .loc (0.21.0) (DEPR: loc with listlikes with missing elements #29802)
- DEPR: Series ndarray properties (strides, data, base, itemsize, flags) #20721 .base, .flags, .stride, .itemsize, .data Series/Index attributes (0.23.0) (DEPR: remove itemsize, data, base, flags, strides #29918)
- DEPR: Deprecate Series/Dataframe.to_dense/to_sparse #26684 DataFrame & Seriesto_dense/to_sparse (0.25.0) (DEPR: Categorical.ravel, get_dtype_counts, dtype_str, to_dense #29900)
- DEPR: Series.put, Series.real, Series.imag, Index.dtype_str #27106 Index.dtype_str (0.25.0) (DEPR: Categorical.ravel, get_dtype_counts, dtype_str, to_dense #29900)
- DEPR: make Categorical.ravel() return Categorical #27199 Categorical.ravel should return a Categorical and not ndarray (0.25.0) (DEPR: Categorical.ravel, get_dtype_counts, dtype_str, to_dense #29900)
- DEPR: DataFrame.get_dtype_counts #27145 .get_dtype_counts (0.25.0) (DEPR: Categorical.ravel, get_dtype_counts, dtype_str, to_dense #29900)
- fix interpreting int as second--> nano #24694 .fillna(integer) with timedelta (0.24.0) (DEPR: dropna multiple axes, fillna int for td64, from_codes with floats, Series.nonzero #29875)
- DEPR: DataFrame dropna accepting multiple axes #20995 passing multiple axes to DataFrame.dropna (0.23.0) (DEPR: dropna multiple axes, fillna int for td64, from_codes with floats, Series.nonzero #29875)
- Deprecate series.nonzero (GH18262) #24048 Series.nonzero (0.24.0) (DEPR: dropna multiple axes, fillna int for td64, from_codes with floats, Series.nonzero #29875)
- Fix categorical from codes nan 21767 #21775 Catetgorical.from_codes accepting float codes (0.24.0) (DEPR: dropna multiple axes, fillna int for td64, from_codes with floats, Series.nonzero #29875)
- DEPR: tz_convert in the Timestamp constructor #23621 passing tz and a datetime.datetime/Timestamp with tzinfo in the Timestamp constructor (0.24.0) (DEPR: tz_convert in the Timestamp constructor raises #29929)
- DEPR: Deprecate passing range-like arguments to DatetimeIndex, TimedeltaIndex #23919 verify_integrity arg in TimedeltaIndex, DatetimeIndex (0.24.0) (DEPR: DTI/TDI/PI constructor arguments #29930)
- DEPR: Deprecate passing range-like arguments to DatetimeIndex, TimedeltaIndex #23919 passing start, end, periods to DatetimeIndex or TimedeltaIndex (0.24.0) (DEPR: DTI/TDI/PI constructor arguments #29930)
- BUG: Assorted DatetimeIndex bugfixes #24157 time_rule kwarg in offsets.generate_range (0.24.0) (BUG: Assorted DatetimeIndex bugfixes #24157)
- API/DEPR: replace kwarg "pat" with "sep" in str.[r]partition #23767 Series.str.partition and Series.str.rpartition, replace pat with sep (0.24.0) (DEPR: remove real, imag, put, and str.partition kwarg #29986)
- DEPR: Series.put, Series.real, Series.imag, Index.dtype_str #27106 Series.put (0.25.0) (DEPR: remove real, imag, put, and str.partition kwarg #29986)
- DEPR: Series.put, Series.real, Series.imag, Index.dtype_str #27106 Series.real & Series.imag (0.25.0) (DEPR: remove real, imag, put, and str.partition kwarg #29986)
- DEPR: deprecate get_values #26409 Categorical.get_values, SparseArray.get_values, DataFrame.get_values, Series.get_values, Index.get_values (0.25.0) (DEPR: remove get_values, SparseArray.values #29989)
- DEPR: deprecate get_values #26409 SparseArray.values (0.25.0) (DEPR: remove get_values, SparseArray.values #29989)
- API: Restore implicit converter registration #18307 pandas.tseries.converter.register (???) (DEPR: plotting deprecations #30003)
- #???? pandas.plottting._matplotlib.hist._grouped_plot "figsize" kwarg (???) (DEPR: plotting deprecations #30003)
- #???? PlotAccessor keyword-only arguments (???) (DEPR: plotting deprecations #30003)
- CLN: deprecate the pandas.tseries.plotting.tsplot function (GH18627) #19980 pandas.plotting._timeseries.tsplot (0.23.0) (DEPR: plotting deprecations #30003)
- DEPR: deprecate Series/DataFrame.compound #26405 Series/DataFrame.compound (0.25) (DEPR: remove compound #30088)
- DEPR: join_axes-kwarg in pd.concat #22318 join_axes kwarg in pd.concat (0.25.0) (DEPR: join_axes kwarg to pd.concat #30090)
- #???? set_axis signature (0.21.0) (DEPR: enforce deprecation of old set_axis signature #30089)
- DEPR: Deprecate outer ufunc in Series.__array_ufunc__ #27198 ufunc.outer(Series) (0.25.0) (DEPR: ufunc.outer for Series #30104)
- DEPR: Deprecate box kwarg for to_timedelta and to_datetime #24486 box arg in pd.to_datetime (0.25.0) (DEPR: box arg in to_datetime #30111)
- Changes to i8data for DatetimeIndex #24559 i8data for DTI (0.24.0) (DEPR: DTI int64 values and tz interpreted as UTC #30115)
- Deprecating Series.argmin and Series.argmax (#16830) #16955 Series.argmin/argmax (0.21.0) (DEPR: Series.argmin, argmax #30113)
- DEPR: deprecate integer add/sub with DTI/TDI/PI/Timestamp/Period #22535 integer add/sub with DatetimeIndex, TimedeltaIndex, PeriodIndex, Timestamp, Period (0.24.0) (DEPR: integer add/sub for Timestamp, DatetimeIndex, TimedeltaIndex #30117)
- DEPR: Add Deprecated warning for timedelta with passed units M and Y #23264 Y, M in Timedelta and friends (0.25.0) (DEPR: YyM units for Timedelta and friends #30118)
- #???? Index.contains (0.25.0) (DEPR: Index.contains, DatetimeIndex.offset #30103)
- #???? how,fill_method kwargs in resample (??? older than Feb 2016) (DEPR: Remove how, fill_method, and limit from resample #30139)
- DEPR: Deprecate ordered=None for CategoricalDtype #26403 ordered=None in CategoricalDtype in favor of ordered=False (0.25.0) (DEPR: Change default value for CategoricalDtype.ordered from None to False #29955)
- ENH Read Stata dta file incrementally #9493 remove deprecated
StataReader.data
method (???) (DEPR: remove stata deprecations from 2015 and 2017 #30176) - BUG: Set index when reading stata file #17328 remove deprecated "index" keyword from read_stata, StataReader, StataReader.read (???) (DEPR: remove stata deprecations from 2015 and 2017 #30176)
- DEPR/API: Non-ns precision in Index constructors #24806 passing non-nano dtype to TimedeltaIndex/DatetimeIndex (0.24.0) (DEPR: enforce deprecation of unitless td64/dt64 #30199)
- DEPR: deprecate .ix in favor of .loc/.iloc #15113/DEPR: Change .ix DeprecationWarning -> FutureWarning #26438 .ix (0.20.0 / DeprecationWarning), (0.25.0 FutureWarning) (DEPR: remove ix #27620)
- DEPR: deprecate msgpack support #27103 pd.to_msgpack and pd.read_msgpack (0.25.0) (DEPR: msgpack #30112)
- DEPR: Series.item and Index.item #27112 Series.item & Index.item (0.25.0) (BUG+DEPR: undeprecate item, fix dt64/td64 output type #30175)
- Stop concat from attempting to sort mismatched columns by default #20613 DataFrame.append "sort" keyword default change None to False (0.23.0) (DEPR: change DataFrame.append default sort kwarg #30251)
- DEPR: Series.ptp() #21614 `Series.ptp (0.24.0) (DEPR: remove ptp #30458)
- DEPR: Series.compress #21930
Series.compress
(0.24.0) (DEPR: Remove Series.compress #30514)
0.25.0
- DEPR: Panel deprecated #15601 / DEPR: change Panel DeprecationWarning -> FutureWarning #19247
Panel
(0.20.0) (CLN/DEPR: Final panel removal #27101 et al) - DEPR: deprecate relableling dicts in groupby.agg #15931
.agg(..)
for groupby/rolling/resample with a renaming dict (0.20.0) (depends on Deprecation of relabeling dicts in groupby.agg brings many issues #18366 for a proper replacement) (ENH: Support nested renaming / selection #26399) - REF: Move pandas.core.categorical #19269 / Add CategoricalDtype to deprecated core.categorical shim #19373
pandas.core.categorial
move (0.23.0) (CLN: remove pandas.core.categorical #25655) - DEPR #16747: deprecate pd.TimeGrouper #16942
pd.TimeGrouper
(0.21.0) ( CLN: pd.TimeGrouper #26477) - GH10559: Minor improvement: Change read_excel sheet name #16442, DEPR: deprecated
sheetname
from ExcelFile.parse #20938ExcelWriter.sheetname
(0.21.0, 0.23.0) (CLN: Remove ExcelWriter.sheetname #26464) - DEPR: deprecate pd.TimeGrouper #17703
pd.TimeGrouper
(0.21.0) ( CLN: pd.TimeGrouper #26477) - ENH: inconsistent naming convention for read_excel column selection (#4988) #16488
ExcelWriter.parse_cols
(0.21.0) (CLN: Remove deprecated parse_cols from read_excel #26522) - DEPR: deprecate html.border option #16970
pd.options.html.display
(0.21.0) (CLN: pd.options.html.border #26540) - API: add infer_objects for soft conversions #16915
convert_objects
(0.21.0), xref API: .convert_objects is deprecated, do we want a .convert to replace? #11221, ENH: Restore original convert_objects and add _convert #11173 (initial deprecation) (CLN: Remove convert_objects #26612) - DEPR: deprecate .select() #17633
Series.select
,DataFrame.select
(0.21.0) (Remove NDFrame.select #26641) - API: Deprecate renamae_axis and reindex_axis #17842
reindex_axis
(0.21.0) - API: Deprecate renamae_axis and reindex_axis #17842 mappers for
rename_axis
(0.21.0) - Rename categories with Series #17982
cat.rename_categories
with aSeries
as list-like (0.21.0) - DEPR: Deprecate from_csv in favor of read_csv #17812
.from_csv()
(0.21.0) - DEPR: Deprecate tupleize_cols in read_csv #17820
tupleize_cols
inread_csv
(0.21.0) - DEPR: Deprecate tupleize_cols in to_csv #17877
tupleize_cols
into_csv
(0.21.0) - DEPR: Deprecate parse_cols in read_excel #17774
.read_excel(..., parse_cols)
(0.21.0) - DEPR: deprecate raise_on_error in .where/.mask in favor of errors= #17744
.where/.mask(..., raise_on_error)
(0.21.0) - DEPR: passing categories or ordered kwargs to Series.astype is deprecated #17742
.astype(...., categories=, ordered=)
(0.21.0) - DEPR: Deprecate cdate_range and merge into bdate_range #17691
cdate_range
(0.21.0) - DEPR: Add warning for True for dropna of SeriesGroupBy.nth #17493
SeriesGroupBy.nth
, fordropna=True
(0.21.0) (CLN: True option in Series.groupby.nth(dropna=) #27168) - DEPR: Deprecate convert parameter in take #17352
.take(..., convert=)
param (0.21.0) ( CLN: convert argument in .take method #27171) - API: Warn about dups in names for read_csv #17346 duplicate elements in names for read_csv (0.21.0) (ERR: Raise on duplicates names in read_csv #27175)
- Revert changes to comparison between Series[datetime64ns] and datetime.date #21359 compare datetime.datetime and datetime.date (0.23.0) (DEPR: remove deprecated date casting; closes #21359 #27109)
0.24.0
- DEPR: Bunch o deprecation removals part 2 #10892 Deprecate
LongPanel/WidePanel
(0.17.0), aliases since < 0.11.0 (MAINT: Remove Long and WidePanel #15748, Revert "MAINT: Remove Long and WidePanel (#15748)" #15802 revert); waiting on statsmodels 0.9.0 release (Revert "Revert "MAINT: Remove Long and WidePanel (#15748)" (#15802)" #18341) -
pandas.core.datetools
, deprecated in 0.19.0 (3f3839b) (DEPR: Removing previously deprecated datetools module (#6581) #19119) - ENH: Allow the groupby by param to handle columns and index levels (GH5677) #14432 ambiguous name in level/column when grouping (DEPR: Error with ambiguous groupby strings #22415)
- Standardize function signatures #14645
Series.repeat(reps)
(0.20.0) (DEPR: Rename reps to repeats in Series.repeat #22417) - Standardize function signatures #14645
Index.repeat(n)
andMultiIndex.repeat(n)
(CLN: Rename 'n' to 'repeats' in .repeat methods #22574) - API: change default behaviour of str.match from deprecated extract to match (GH5224) #15257 the
as_indexer
keyword instr.match()
(0.20.0) (CLN/DEPR: removed deprecated as_indexer arg from str.match() #22626) - Standardize function signatures #14645
Categorical.searchsorted(v)
andSeries.searchsorted(v)
(CLN: Standardize searchsorted signatures #22670) - Standardize function signatures #14645
TimedeltaIndex.searchsorted(key)
,DatetimeIndex.searchsorted(key)
, andPeriodIndex.searchsorted(key)
(CLN: Standardize searchsorted signatures #22670) - BLD: consolidate remaining extensions #15537
pandas.json
(CLN: Removes module pandas.json #22737) - DEPR: Patch to_dense behaviour for sparse. #14686
SparseArray.to_dense(fill)
(0.20.0) (DEPR/CLN: Clean up to_dense signature deprecations #22910) - DEPR: Patch to_dense behaviour for sparse. #14686
SparseSeries.to_dense(sparse_only)
(0.20.0) (DEPR/CLN: Clean up to_dense signature deprecations #22910) - [Depr] raise_on_error kwarg with errors kwarg in astype#14878 #14967
.astype(raise_on_error)
(0.20.0) (CLN: Rename raise_on_error to errors for .dtype #23374) - DEPR: deprecate sortlevel in favor of sort_index #15099
Series.sortlevel
andDataFrame.sortlevel
(0.20.0) (CLN: Drop .sortlevel method #23375) - CLN: strip out and form tools/concat.py from tools/merge.py #15358 import of
concat
frompandas.tools.merge
(CLN: Remove pandas.tools module #23376) - CLN/API: move plotting funcs to pandas.plotting #16005 top-level scatter_matrix and plot_params + plotting methods in pandas.tools.plotting (0.20.0) (CLN: Remove pandas.tools module #23376)
- DEPR: rename to _consolidate and create deprecation warning #15501
.consolidate
(0.20.0) (CLN: Remove the .consolidate method #23377) - BLD: consolidate remaining extensions #15537
pandas.parser
,pandas.lib
,pandas.tslib
(0.20.0) (CLN: Remove pd.parser, lib, and tslib #23378) - DEPR: deprecate some top-level non-used functions #15538
pd.pnow()
,pd.match()
,pd.groupby()
,pd.Expr
,pd.Term
(0.20.0) (CLN: Cleanup top-level pandas namespace #23380) - DEPR: deprecate pd.get_store as not api consistent and cluttering #15940
pd.get_store()
(0.20.0) (CLN: Cleanup top-level pandas namespace #23380) - DEPR: allow options for using bottleneck/numexpr #16157
pandas.computation.expressions.set_use_numexpr()
(0.20.0) (CLN: Cleanup toplevel namespace shims #23386) - DEPR: allow options for using bottleneck/numexpr #16157
pandas.types.concat.union_categorical()
(0.20.0) (CLN: Cleanup toplevel namespace shims #23386) - DEPR: add shims for util + TST: test that we work in downstream packages #16250
shims for util and test
(0.20.0) (CLN: Cleanup toplevel namespace shims #23386) - DEPR: deprecate pandas.api.types.is_sequence #16189
pandas.api.types.is_sequence
(0.20.0) (CLN: Remove some dtype methods from API #23390) - DEPR: deprecate is_any_int_dtype and is_floating_dtype from pandas.api.types #16163
pandas.api.types.is_any_int_dtype
,is_floating_dtype
(0.20.0) (CLN: Remove some dtype methods from API #23390) - DEPR: Deprecate generic timestamp dtypes #15987
.astype(np.datetime64)
and.astype(np.timedelta64)
, unit-less astypes (0.20.0) (API: Disallow dtypes w/o frequency when casting #23392)
0.23.0
- API: provide Rolling/Expanding/EWM objects for deferred rolling type calculations #10702 #11603
freq
,how
keywords (0.18.0) (DEPR/CLN: Remove freq parameters from df.rolling/expanding/ewm #18601) - DOC/DEPR: pivot_annual #13706
pivot_annual
(0.19.0) (CLN: remove tseries.util.pivot_annual/isleapyear #18370) - ENH: add is_leap_year property for datetime-like #13739
isleapyear
(0.19.0) (CLN: remove tseries.util.pivot_annual/isleapyear #18370) - ENH: add pd.asof_merge #13358
pd.ordered_merge
->pd.merge_ordered
(0.19.0) (CLN/DEPR: remove pd.ordered_merge #18459) - API: provide Rolling/Expanding/EWM objects for deferred rolling type calculations #10702 #11603
freq
from.rolling/.expanding
(DEPR/CLN: Remove freq parameters from df.rolling/expanding/ewm #18601) - API: provide Rolling/Expanding/EWM objects for deferred rolling type calculations #10702 #11603
how
from.rolling/.expanding
(DEPR/CLN: Remove how keyword from df.rolling() etc. #18668) - CNL: remove the io.data and io.wb modules #13735 import errors for io.data and io.wb (0.19.0, but deprecated in 0.17.0) (CLN: Remove io.data and io.wb #18612)
- DEPR: Deprecate SparseList #14007
SparseList
(0.19.0) (CLN: Remove SparseList from pandas API #18621) - BUG: Preserve categorical dtypes in MultiIndex levels (#13743) #13854
Categorical.from_array
(0.19.0) (CLN: Remove Categorical.from_array #18642) - API: Deprecate skip_footer in read_csv #13386
skip_footer
inpd.read_csv
(0.19.0) (CLN: Drop the skip_footer parameter in read_csv #18724) - DEPR: Deprecate as_recarray in read_csv #13373
as_recarray
inpd.read_csv
(0.19.0) (CLN: Drop the as_recarray parameter in read_csv #18804) - DEPR, DOC: Deprecate buffer_lines in read_csv #13360
compact_ints
anduse_unsigned
inpd.read_csv
(0.19.0) (CLN: Drop compact_ints/use_unsigned from read_csv #18851) - DEPR: rename Timestamp.offset to .freq #13593
.freq
inTimestamp
rather than.offset
(0.19.0) (CLN: Remove Timestamp.offset #18927) - API, DEPR: Raise and Deprecate Reshape for Pandas Objects #13012
Series.reshape
andCategorical.reshape
(0.19.0) (CLN: Drop the .reshape method from classes #18954) - API: provide Rolling/Expanding/EWM objects for deferred rolling type calculations #10702 #11603
pd.rolling_*
,pd.expanding_*
,pd.ewm*
(0.18.0); waiting ondask
release (DEPR/CLN: Remove pd.rolling_*, pd.expanding* and pd.ewm* #18723) - BUG: Fix Period and PeriodIndex support of combined offsets aliases #13874
pandas.tseries.frequencies.get_standard_freq
&to_offset
freqstr kw (0.19.0) (CLN: Remove tseries v0.19.0 deprecations #19023) - DEPR: Panel4d and panelND #13776
Panel4D\Panelnd
(0.19.0) (CLN: Remove the Panel4D and PanelND classes #19059) - DEPR: remove display.line_width and display.height as old prior deprecations #19107
display.line_width
anddisplay.height
-
Categorical.labels
(DEPR: Removing previously deprecated Categorical.labels (#6581) #19120) -
flavor
parameter ofSQLiteDatabase
(8acfad3) (DEPR: Removing previously deprecated flavor parameter from SQLiteData… #19121) -
str.extract(expand=None)
(67730dd) (DEPR: Changing default of str.extract(expand=False) to str.extract(expand=True) #19118) - CLN: make submodules of pandas.util private #16223
pandas.tools.hashing
,pandas.util.hashing
(0.20.0) (CLN: Remove pandas.util | tools/hashing.py #19181) - CLN: reorg type inference & introspection #13147
pandas.core.common
dtype introspection functions (0.19.0) DEPR: remove pandas.core.common is_* #19769 - resample compat DEPR: remove resample compatibility #20554
-
axis=None
param in.replace()
DEPR: removed long deprecated input param 'axis' in .replace() #20789
0.21.0
- ENH: read_excel MultiIndex #4679 #10967 remove
ExcelWriter.has_index_names
(0.17.0) (PR MAINT: Drop has_index_names input from read_excel #16522) - BUG, DEP, DOC: Patch and Align Categorical's Sorting API #12882
Categorical.sort
(0.18.1) (PR MAINT: Drop Categorical.order & sort #16728) - DEPR: deprecate options.display.mpl_style #12190
options.display.mpl_style
(0.18.0) (PR MAINT: Drop pd.options.display.mpl_style #16761) - API: rename Index.sym_diff to Index.symmetric_difference #12591
Index.sym_diff
(0.18.1) (PR MAINT: Drop Index.sym_diff #16760) - API: multi-line, not inplace eval #11149
pd.eval
changeinplace=False
rather thaninplace=None
(0.18.0) (PR BUG/MAINT: Change default of inplace to False in pd.eval #16732) - CLN: frequency.get_offset always return copy #11834
get_offset_name
removed (0.18.0) (PR MAINT: Drop the get_offset_name method #16863) - BUG: fix max_columns=0, close #2856 #2881
pd.options.display.line_width
(PR MAINT: Drop line_width and height from options #16993) - Rework display logic again. #3663
pd.options.display.height
(PR MAINT: Drop line_width and height from options #16993)
0.20.0
- DEPR: Bunch o deprecation removals #10890 remove
TimeSeries
alias (0.17.0) (PR DEPR: remove pd.TimeSeries & Series.is_time_series #15098) - DEPR: Series.is_timeseries #11135 remove
Series.is_timeseries
(0.17.0) (PR DEPR: remove pd.TimeSeries & Series.is_time_series #15098) - DEPR: google-analytics #11308
pandas.io.ga
(0.17.1) -> (PR CLN: remove deprecated google-analytics module (GH11308) #15223) - DEPR: pandas.stats.var, pandas.stats.plm, pandas.stats.ols, pandas.stats.fama_macbeth #11898
pd.fama_macbeth
,pd.ols
, can also removestatsmodels
as a dep (0.18.0), (PR DEPR: remove statsmodels as a dependency #15353) - DEPR: irow, icol, iget_value #10711
.irow
,.icol
,.iget_value
(from 0.11.0, but deprecated in 0.17.0) (PR CLN: remove deprecated irow, icol, iget, iget_value (GH10711) #15547) - DEPR: irow, icol, iget_value #10711
DataFrame.iterkv
(pretty old, but changedDeprecationWarning
toFutureWarning
only in 0.17) (PR API: Drop DataFrame.iterkv() #15650) - Remove Categorical.name #10632
Categorical.name
(0.17.0) (PR API: Drop the name parameter from Categorical #15654) - ENH: Add ability to create datasets using the gbq module #11121
generate_bq_schema
remove as no longer needed (0.17.0) (PR CLN: remove pandas/io/gbq.py and tests and replace with pandas-gbq #15484) - TST/CLN: remove assert_isinstance #10458
testing.assert_isinstance
(0.17.0) (PR MAINT: Remove testing.assert_isinstance #15652) - ENH: duplicated and drop_duplicates now accept keep kw #10236
take_last
kw ofduplicated
anddrop_duplicates
(0.17.0) (MAINT: Drop take_last kwarg from method signatures #15710) - DEPR: Series.nlargest/nsmallest take_last. #10920
take_last
kw ofSeries.nlargest
andnsmallest
(0.17.0) (MAINT: Drop take_last kwarg from method signatures #15710) - API: nlargest/nsmallest, take_last -> keep #10792
take_last
kw ofGroupby.nlargest/nsmallest
(0.17.0) (MAINT: Drop take_last kwarg from method signatures #15710) - API/WIP: .sorted #10726
Series.order,sort
,Index.order
,DataFrame.sort
(0.17.0) (MAINT: Drop order and sort from pandas objects #15735) - DEPR: DeprecationWarning -> FutureWarning for back-compat in pytables #12027 back-compat for where with non-strings in
.select(...., where=)
forHDFStore
(0.11.0/0.18.0) (#MAINT: Enforce string type for where parameter #15798) - API: deprecate combineAdd and combineMult methods? #10735
combineAdd
/combineMult
(0.17.0) (MAINT: Remove combineAdd and combineMult #15805) - API/DOC: Deprecate and Advise against having
np.nan
in Categoricals #10748 Deprecate havingnp.nan
inCategorical.categories
(0.17.0) (Drop support for NaN categories in Categorical #15806)
0.19.0
- Deprecate colSpace in favor of col_space (no issue, commit 4a5a677) (PR CLN: Removed colSpace parameter #13857)
- API: raise on setops for + and - for Indexes (GH8226) #8227 '+'/'-' for Index set ops (0.15.0) -> API/DEPR: Remove +/- as setops for Index (GH8227) #14127
- API: datetimeindex subtraction #9094 make DTI-DTI subtraction yield a
TimeDeltaIndex
(rather then a set op.difference()
) (0.16.0) -> API/DEPR: Remove +/- as setops for DatetimeIndex/PeriodIndex (GH9630) #14164 - Deprecating the trellis rplot module (GH3445) #9357, Deprecating the trellis rplot module #3445 remove trellis plot. (0.16.0) (PR CLN: Removed trellis rplot #13855)
- API: Change Panel.shift arg signature to match generic's #6910 Change
Panel.shift
's signature to matchgeneric.shift()
's (0.14.0) -> CLN: Drop lags parameter from Panel.shift #14041 -
flavor='mysql'
into_sql
(0.14.0) -> CLN: Removed the flavor parameter in DataFrame.to_sql #13611) -
tquery
/uquery
functions (0.14.0) -> CLN: remove deprecated io.sql uquery and tquery functions #13616 - CLN/DEPR: remove engine='python' from to_csv #11274
engine
kw into_csv()
, from 0.13 (0.17.1), CLN: Remove the engine parameter in CSVFormatter and to_csv #13419 - Deprecations of levels in categorical in 2017/ after 0.18 #8376 remove
.levels
fromCategorical
constructor / accessor (0.15.0), CLN: Removed levels attribute from Categorical #13612 - [ENH] Add orient argument and split option to to_dict. (GH7840) #8486 remove
outtype
in.to_dict()
replaced byorient
(0.15.0), CLN: Removed outtype in DataFrame.to_dict #13627 - API: raise on setops for + and - for Indexes (GH8226) #8227
diff
for Index set ops (0.15.0), CLN: removed the 'diff' method for Index #13669 - DEPR: Deprecate legacy offsets #10951 Legacy offsets (0.17.0) (DEPR: Remove legacy offsets #13590)
- DEPR: deprecate pandas.sandbox.qtpandas #9615 remove
pandas.sandbox
(0.16.0), CLN: removed pandas.sandbox #13670 - API: deprecate setting of .ordered directly (GH9347, GH9190) #9611, remove ability to set
cat.ordered
directly (0.16.0), CLN: removed setter method of categorical's ordered attribute #13671 - DEPR: deprecate SparsePanel #11157
SparsePanel
(0.17.0), CLN: Removed SparsePanel #13778 - API: remove the copy kw from .xs to prevent an expectation of a view (which may not be possible) #6919 Remove
copy
keyword fromxs
,minor_xs
,major_xs
(4 places) (0.14.0), CLN: Removed copy parameter in xs_* methods #13781 - DEPR: Deprecate str.split return_type #10085 remove
return_type='series'|'frame'
(replaced byexpand=
) (0.16.1), CLN: Removed the return_type param in StringMethods.split #13701 -
to_wide
deprecated since 2011 (1134c9f) -> CLN: Removed DataFrame.to_wide #14039 - boxplot API: Return axes from boxplot #7096 (0.14.0) (DEPR: Change boxplot return_type kwarg #12216)
- change default of
return_type
from None to'axes'
- update return_type section in visualization.rst
- change default of
0.18
- Pairwise versions for rolling_cov, ewmcov and expanding_cov #4950 -
rolling_corr_pairwise()
,expanding_corr_pairwise()
replace byrolling_corr()
,expanding_corr()
(0.14.0), in API: provide Rolling/Expanding/EWM objects for deferred rolling type calculations #10702 #11603 - DEPR: deprecate cols / change to subset in duplicated/drop_duplicates #6680, cols was deprecated in DataFrame.to_duplicated and drop_duplicates (0.14.0), DEPR: some removals #12165
- ENH: sql support with SQLAlchemy - follow-up #6292, sql functions (DEPR: removal of deprecated sql functions #12205)
- API/DEPR: Deprecate order kwarg in factorize #6930 factorize took an
order
argument but didn't do anything with it. (0.14.0) (DEPR: remove order kw from .factorize(), xref #6930 #12274) - DEPR: deprecate float keys in non-float indexers #4892 Float indexers in non-float indexes. (0.14.0) (DEPR: removal of deprecation warnings for float indexers #12246)
- encoding
items
(in favor oflocs
) in msgpack (DEPR: msgpack encode 'items' #10623) (0.17.0) (DEPR: GH10623 remove items from msgpack.encode for blocks #12129)
0.17
- Deprecate colSpace in favor of col_space (no issue, commit 4a5a677) (0.8.0 I think) -> Removed DEPR: Bunch o deprecation removals #10890
- Broadcasting bug with datetime.date index? #2304 Deprecate broadcasting TimeSeries along DataFrame index (0.10.0) -> Removed DEPR: Bunch o deprecation removals #10890
- EHN/FIX: Add na_last parameter to DataFrame.sort. Fixes GH3917 #5231
na_last
arg from Series.sort (0.14.0) -> Removed API/WIP: .sorted #10726 - ENH/API: accept list-like percentiles in describe (WIP) #7088 Deprecate percentile_width in favor of percentiles (0.14.0) -> Removed in ERR/DEPR: Fix quantile error message / remove percentile_width #10881
- CLN deprecate save&load in favour of to_pickle&read_pickle #3787 Deprecate load and save in favor of pickle and to_pickle (0.12.0) -> Removed DEPR: Bunch o deprecation removals part 2 #10892
- tshift does not work for Panels #4853, Panel tshift 4853 #4864 Deprecate timeRule and offset in favor of freq () (0.13.0) -> Removed DEPR: Bunch o deprecation removals part 2 #10892
- CLN: Remove unused and undocumented kind keyword from read_excel #4713 Remove kind from read_excel (0.13.0) -> Removed DEPR: Bunch o deprecation removals part 2 #10892
- REF/BUG/ENH/API: refactor read_html to use TextParser #4770, read_html infers wrong datatype #7032 Deprecate infer_types to have no effect (0.13.0) -> Removed DEPR: Bunch o deprecation removals part 2 #10892
- API: remove the table keyword, replaced by fmt='s|t' #4645 Deprecate table keyword in HDFStore (0.13.0) -> Removed DEPR: Bunch o deprecation removals part 2 #10892
0.16
- ENH: Have pivot and pivot_table take similar arguments #5505, DataFrame.pivot_table and crosstab were refactored to use the same arguments as pivot (index and columns) and FutureWarnings added for the old arguments. Per @jreback, in 0.16, these deprecated arguments should be removed and the docstring updated. This issue is submitted as a reminder to do so and should be tagged with a 0.156 milestone.
- DEPR: deprecate cols / change to columns in to_csv / to_excel #6686, cols was deprecated in DataFrame.to_excel and to_csv (rows is not deprecated, don't touch it!)
- ENH: let get_dummies take a DataFrame #8140, remove
covert_dummies
fromcore/reshape
entirely. Deprecated in favor of enhancedget_dummies
. Deprecated as of 0.15 - DEPR: deprecate/remove pandas.tools.describe #8481, remove
pandas.tools.util.py/value_range
0.15
-
DataFrame.delevel
already deprecated in (0.7)