-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEPR: deprecations log for removed issues #13777
Comments
@gfyoung if you are looking for something to do :) I added a couple of old deprecations that were not on the original list...... |
I wonder if it is worthwhile to remove |
generally better not to touch a deprecated method partially |
@jorisvandenbossche : Could you check off the two unchecked boxes under the |
@pandas-dev/pandas-core : Can this be closed? It looks like all boxes are checked. |
Yes, this can be closed I think. Also, from now on we are going to tick the boxes in the original issue logging the deprecations, and not moving them to a new issue like this one. The issue to log deprecations in 1.x (removed in 2.0) is #30228 |
Document removed deprecations, originally indicated in #6581. This reference is in reverse chronological order of release.
1.0.0
inplace
arg to.set_axis()
(0.21.0) (DEPR: NDFrame.set_axis inplace defaults to false #27525).get_value()
and.set_value()
(0.21.0) (DEPR: remove previously-deprecated get_value, set_value #27377)str.cat
(0.24.0) (DEPR: execute deprecations for str.cat in v1.0 #27611)IntervalIndex.from_intervals
(0.23.0) DEPR: Remove previously deprecated IntervalIndex.from_intervals #27793aggregate
Series.rolling.apply
etc for theraw
parameter (0.23.0) (DEPR: Change raw kwarg in rolling/expanding.apply to False #29829)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)StataReader.data
method (???) (DEPR: remove stata deprecations from 2015 and 2017 #30176)Series.compress
(0.24.0) (DEPR: Remove Series.compress #30514)0.25.0
Panel
(0.20.0) (CLN/DEPR: Final panel removal #27101 et al).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)pandas.core.categorial
move (0.23.0) (CLN: remove pandas.core.categorical #25655)pd.TimeGrouper
(0.21.0) ( CLN: pd.TimeGrouper #26477)sheetname
from ExcelFile.parse #20938ExcelWriter.sheetname
(0.21.0, 0.23.0) (CLN: Remove ExcelWriter.sheetname #26464)pd.TimeGrouper
(0.21.0) ( CLN: pd.TimeGrouper #26477)ExcelWriter.parse_cols
(0.21.0) (CLN: Remove deprecated parse_cols from read_excel #26522)pd.options.html.display
(0.21.0) (CLN: pd.options.html.border #26540)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)Series.select
,DataFrame.select
(0.21.0) (Remove NDFrame.select #26641)reindex_axis
(0.21.0)rename_axis
(0.21.0)cat.rename_categories
with aSeries
as list-like (0.21.0).from_csv()
(0.21.0)tupleize_cols
inread_csv
(0.21.0)tupleize_cols
into_csv
(0.21.0).read_excel(..., parse_cols)
(0.21.0).where/.mask(..., raise_on_error)
(0.21.0).astype(...., categories=, ordered=)
(0.21.0)cdate_range
(0.21.0)SeriesGroupBy.nth
, fordropna=True
(0.21.0) (CLN: True option in Series.groupby.nth(dropna=) #27168).take(..., convert=)
param (0.21.0) ( CLN: convert argument in .take method #27171)0.24.0
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)Series.repeat(reps)
(0.20.0) (DEPR: Rename reps to repeats in Series.repeat #22417)Index.repeat(n)
andMultiIndex.repeat(n)
(CLN: Rename 'n' to 'repeats' in .repeat methods #22574)as_indexer
keyword instr.match()
(0.20.0) (CLN/DEPR: removed deprecated as_indexer arg from str.match() #22626)Categorical.searchsorted(v)
andSeries.searchsorted(v)
(CLN: Standardize searchsorted signatures #22670)TimedeltaIndex.searchsorted(key)
,DatetimeIndex.searchsorted(key)
, andPeriodIndex.searchsorted(key)
(CLN: Standardize searchsorted signatures #22670)pandas.json
(CLN: Removes module pandas.json #22737)SparseArray.to_dense(fill)
(0.20.0) (DEPR/CLN: Clean up to_dense signature deprecations #22910)SparseSeries.to_dense(sparse_only)
(0.20.0) (DEPR/CLN: Clean up to_dense signature deprecations #22910).astype(raise_on_error)
(0.20.0) (CLN: Rename raise_on_error to errors for .dtype #23374)Series.sortlevel
andDataFrame.sortlevel
(0.20.0) (CLN: Drop .sortlevel method #23375)concat
frompandas.tools.merge
(CLN: Remove pandas.tools module #23376).consolidate
(0.20.0) (CLN: Remove the .consolidate method #23377)pandas.parser
,pandas.lib
,pandas.tslib
(0.20.0) (CLN: Remove pd.parser, lib, and tslib #23378)pd.pnow()
,pd.match()
,pd.groupby()
,pd.Expr
,pd.Term
(0.20.0) (CLN: Cleanup top-level pandas namespace #23380)pd.get_store()
(0.20.0) (CLN: Cleanup top-level pandas namespace #23380)pandas.computation.expressions.set_use_numexpr()
(0.20.0) (CLN: Cleanup toplevel namespace shims #23386)pandas.types.concat.union_categorical()
(0.20.0) (CLN: Cleanup toplevel namespace shims #23386)shims for util and test
(0.20.0) (CLN: Cleanup toplevel namespace shims #23386)pandas.api.types.is_sequence
(0.20.0) (CLN: Remove some dtype methods from API #23390)pandas.api.types.is_any_int_dtype
,is_floating_dtype
(0.20.0) (CLN: Remove some dtype methods from API #23390).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
freq
,how
keywords (0.18.0) (DEPR/CLN: Remove freq parameters from df.rolling/expanding/ewm #18601)pivot_annual
(0.19.0) (CLN: remove tseries.util.pivot_annual/isleapyear #18370)isleapyear
(0.19.0) (CLN: remove tseries.util.pivot_annual/isleapyear #18370)pd.ordered_merge
->pd.merge_ordered
(0.19.0) (CLN/DEPR: remove pd.ordered_merge #18459)freq
from.rolling/.expanding
(DEPR/CLN: Remove freq parameters from df.rolling/expanding/ewm #18601)how
from.rolling/.expanding
(DEPR/CLN: Remove how keyword from df.rolling() etc. #18668)SparseList
(0.19.0) (CLN: Remove SparseList from pandas API #18621)Categorical.from_array
(0.19.0) (CLN: Remove Categorical.from_array #18642)skip_footer
inpd.read_csv
(0.19.0) (CLN: Drop the skip_footer parameter in read_csv #18724)as_recarray
inpd.read_csv
(0.19.0) (CLN: Drop the as_recarray parameter in read_csv #18804)compact_ints
anduse_unsigned
inpd.read_csv
(0.19.0) (CLN: Drop compact_ints/use_unsigned from read_csv #18851).freq
inTimestamp
rather than.offset
(0.19.0) (CLN: Remove Timestamp.offset #18927)Series.reshape
andCategorical.reshape
(0.19.0) (CLN: Drop the .reshape method from classes #18954)pd.rolling_*
,pd.expanding_*
,pd.ewm*
(0.18.0); waiting ondask
release (DEPR/CLN: Remove pd.rolling_*, pd.expanding* and pd.ewm* #18723)pandas.tseries.frequencies.get_standard_freq
&to_offset
freqstr kw (0.19.0) (CLN: Remove tseries v0.19.0 deprecations #19023)Panel4D\Panelnd
(0.19.0) (CLN: Remove the Panel4D and PanelND classes #19059)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)pandas.tools.hashing
,pandas.util.hashing
(0.20.0) (CLN: Remove pandas.util | tools/hashing.py #19181)pandas.core.common
dtype introspection functions (0.19.0) DEPR: remove pandas.core.common is_* #19769axis=None
param in.replace()
DEPR: removed long deprecated input param 'axis' in .replace() #207890.21.0
ExcelWriter.has_index_names
(0.17.0) (PR MAINT: Drop has_index_names input from read_excel #16522)Categorical.sort
(0.18.1) (PR MAINT: Drop Categorical.order & sort #16728)options.display.mpl_style
(0.18.0) (PR MAINT: Drop pd.options.display.mpl_style #16761)Index.sym_diff
(0.18.1) (PR MAINT: Drop Index.sym_diff #16760)pd.eval
changeinplace=False
rather thaninplace=None
(0.18.0) (PR BUG/MAINT: Change default of inplace to False in pd.eval #16732)get_offset_name
removed (0.18.0) (PR MAINT: Drop the get_offset_name method #16863)pd.options.display.line_width
(PR MAINT: Drop line_width and height from options #16993)pd.options.display.height
(PR MAINT: Drop line_width and height from options #16993)0.20.0
TimeSeries
alias (0.17.0) (PR DEPR: remove pd.TimeSeries & Series.is_time_series #15098)Series.is_timeseries
(0.17.0) (PR DEPR: remove pd.TimeSeries & Series.is_time_series #15098)pandas.io.ga
(0.17.1) -> (PR CLN: remove deprecated google-analytics module (GH11308) #15223)pd.fama_macbeth
,pd.ols
, can also removestatsmodels
as a dep (0.18.0), (PR DEPR: remove statsmodels as a dependency #15353).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)DataFrame.iterkv
(pretty old, but changedDeprecationWarning
toFutureWarning
only in 0.17) (PR API: Drop DataFrame.iterkv() #15650)Categorical.name
(0.17.0) (PR API: Drop the name parameter from Categorical #15654)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)testing.assert_isinstance
(0.17.0) (PR MAINT: Remove testing.assert_isinstance #15652)take_last
kw ofduplicated
anddrop_duplicates
(0.17.0) (MAINT: Drop take_last kwarg from method signatures #15710)take_last
kw ofSeries.nlargest
andnsmallest
(0.17.0) (MAINT: Drop take_last kwarg from method signatures #15710)take_last
kw ofGroupby.nlargest/nsmallest
(0.17.0) (MAINT: Drop take_last kwarg from method signatures #15710)Series.order,sort
,Index.order
,DataFrame.sort
(0.17.0) (MAINT: Drop order and sort from pandas objects #15735).select(...., where=)
forHDFStore
(0.11.0/0.18.0) (#MAINT: Enforce string type for where parameter #15798)combineAdd
/combineMult
(0.17.0) (MAINT: Remove combineAdd and combineMult #15805)np.nan
in Categoricals #10748 Deprecate havingnp.nan
inCategorical.categories
(0.17.0) (Drop support for NaN categories in Categorical #15806)0.19.0
TimeDeltaIndex
(rather then a set op.difference()
) (0.16.0) -> API/DEPR: Remove +/- as setops for DatetimeIndex/PeriodIndex (GH9630) #14164Panel.shift
's signature to matchgeneric.shift()
's (0.14.0) -> CLN: Drop lags parameter from Panel.shift #14041flavor='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 #13616engine
kw into_csv()
, from 0.13 (0.17.1), CLN: Remove the engine parameter in CSVFormatter and to_csv #13419.levels
fromCategorical
constructor / accessor (0.15.0), CLN: Removed levels attribute from Categorical #13612outtype
in.to_dict()
replaced byorient
(0.15.0), CLN: Removed outtype in DataFrame.to_dict #13627diff
for Index set ops (0.15.0), CLN: removed the 'diff' method for Index #13669pandas.sandbox
(0.16.0), CLN: removed pandas.sandbox #13670cat.ordered
directly (0.16.0), CLN: removed setter method of categorical's ordered attribute #13671SparsePanel
(0.17.0), CLN: Removed SparsePanel #13778copy
keyword fromxs
,minor_xs
,major_xs
(4 places) (0.14.0), CLN: Removed copy parameter in xs_* methods #13781return_type='series'|'frame'
(replaced byexpand=
) (0.16.1), CLN: Removed the return_type param in StringMethods.split #13701to_wide
deprecated since 2011 (1134c9f) -> CLN: Removed DataFrame.to_wide #14039return_type
from None to'axes'
0.18
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 #11603order
argument but didn't do anything with it. (0.14.0) (DEPR: remove order kw from .factorize(), xref #6930 #12274)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
na_last
arg from Series.sort (0.14.0) -> Removed API/WIP: .sorted #107260.16
covert_dummies
fromcore/reshape
entirely. Deprecated in favor of enhancedget_dummies
. Deprecated as of 0.15pandas.tools.util.py/value_range
0.15
DataFrame.delevel
already deprecated in (0.7)The text was updated successfully, but these errors were encountered: