question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DEPR: let's deprecate

See original GitHub issue

xref #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

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:closed
  • Created 6 years ago
  • Comments:43 (37 by maintainers)

github_iconTop GitHub Comments

14reactions
jimmywancommented, Jan 25, 2019

Why on earth would you deprecate read_table? That makes no damn sense. The suggested change is to call read_csv to read things that are not comma-separated? This is 100% backwards.

6reactions
st-bendercommented, Feb 1, 2019

One could argue why not deprecate read_csv() instead of read_table() since table 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found