DEPR: let's deprecate
See original GitHub issuexref #18202
We have some cruft, let’s deprecate it (I have noted some which already have an issue associated).
From ndarray
-
Series.compress()
(#21930) -
Series.imag
/Series.real
(#27106) -
Series.nonzero()
(#24048) -
Series.put()
(#27106) -
Series.itemsize
-
Series.flags
-
Series.strides
timeseries specific
-
Series.first()
let head / tail take a timedelta -
Series.last()
other
-
Series.swapaxes()
- No reason once panel is gone.
non-controversial
-
MultiIndex.to_hierarchical
(only used forPanel
) (#21613) -
Series/DataFrame.compound()
(#26405) -
Series.ptp()
(#21614) -
Series.from_array
(#18213) -
Series.valid()
(#18800) -
Series/DataFrame.slice_shift()
(#37601) -
Series/DataFrame.tshift()
(https://github.com/pandas-dev/pandas/pull/34545) -
Series/DataFrame.get_values()
(https://github.com/pandas-dev/pandas/issues/19617) -
Index.dtype_str
(#27106) -
Index.summary()
(#18217) -
.get_ftype_counts
(#18243) (#20404) -
.get_dtype_counts
#27145 -
Index/Series.asobject
(#18237) (#18572) -
Index.to_native_types()
(make private) (https://github.com/pandas-dev/pandas/pull/36418) -
DataFrame/Series.as_matrix
(#18458) -
.clip_upper/.clip_lower
(replace by.clip
) (#24203)
Potentially
-
.ftypes
(#18243) (#26744) -
.xs()
(#6249) -
.iat/.at
-
.take
-
.lookup
(#35224) -
DataFrame.from_items
- ~
Series/DataFrame.add_prefix/add_suffix
~ (https://github.com/pandas-dev/pandas/pull/18347)- Maybe add suffix / prefix to concat?
-
NDFrame.filter
Issue Analytics
- State:
- Created 6 years ago
- Comments:43 (37 by maintainers)
Top Results From Across the Web
Identifying Deprecated SQL Server Code with Profiler
Solution. In any sized environment, identifying the deprecated SQL Server features could be a long and time consuming process. Luckily, ...
Read more >Deprecated and discontinued features in SQL Server
SQL Server 2016 has both deprecated and discontinued features. Let's discuss the difference between deprecated and discontinued features, and ...
Read more >Field deprecation | Lift-off V: Production & the Schema Registry
A common situation for an evolving graph is to deprecate an existing schema field in favor of a new field. Let's see how...
Read more >Deprecated and obsolete features - JavaScript - MDN Web Docs
This page lists features of JavaScript that are deprecated (that is, ... Use for...of instead. let blocks and let expressions are obsolete.
Read more >Deprecate? Depreciate? Let's call the whole thing off.
It means “to fall in value” – “Sell your GameStop stock before it depreciates!” – or to claim tax deductions “for the wear...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why on earth would you deprecate
read_table
? That makes no damn sense. The suggested change is to callread_csv
to read things that are not comma-separated? This is 100% backwards.One could argue why not deprecate
read_csv()
instead ofread_table()
sincetable
sounds more flexible.Edit: I have to agree with @jimmywan here, and if they are basically the same, why not at least keep it as an alias? One could always wrap it, but people would not be confused or avoid updating.