Skip to content
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: Clean up list of deprecations from prior versions #6581

Closed
1 task done
jsexauer opened this issue Mar 9, 2014 · 81 comments
Closed
1 task done

DEPR: Clean up list of deprecations from prior versions #6581

jsexauer opened this issue Mar 9, 2014 · 81 comments
Labels
Admin Administrative tasks related to the pandas project Deprecate Functionality to remove in pandas
Milestone

Comments

@jsexauer
Copy link
Contributor

jsexauer commented Mar 9, 2014

Log for previous deprecations, once they are actually removed, move the issue to #13777

We try to keep these for three major versions as actual deprecations. e.g. deprecate in 0.17, 0.18 & 0.19 get the warning, removed in 0.20.

0.24.0

@TomAugspurger
Copy link
Contributor

Just FYI, cols is used in to_csv and to_excel as well.

@jreback
Copy link
Contributor

jreback commented Mar 15, 2014

@TomAugspurger good point!

@jsexauer would you do another PR to deprecate cols in to_csv / to_excel (e.g. do what you did in pivot, still accept it, but provide the warning, and substitue columns)

@jsexauer
Copy link
Contributor Author

Sure no problem.

@jorisvandenbossche
Copy link
Member

@jreback I was thinking, now that we are alse deprecating this in to_csv and to_excel, shouldn't we keep this deprecation cycle longer than one release? Because I don't know if the majority of the users update their version every release.

@jtratner
Copy link
Contributor

I agree with @jorisvandenbossche - giving an additional release cycle as buffer would be prudent.

@jreback
Copy link
Contributor

jreback commented Mar 22, 2014

certainly
just keeping open issues as reminders
I just removed the old syntax in in sort I think from like < 0.8!

though maybe will change them to say 0.16 so are at the correct point

@jreback jreback modified the milestones: 0.16, 0.15.0 Mar 22, 2014
@jsexauer jsexauer changed the title DEPR: Remove rows and cols deprecated arguments from DataFrame.pivot_table DEPR: Remove rows and cols deprecated arguments from DataFrame.pivot_table, pivot, to_csv, to_excel, duplicated, drop_duplicates Mar 22, 2014
@jsexauer jsexauer changed the title DEPR: Remove rows and cols deprecated arguments from DataFrame.pivot_table, pivot, to_csv, to_excel, duplicated, drop_duplicates DEPR: Remove rows and cols deprecated arguments from DataFrame.pivot_table, crosstab, to_csv, to_excel, duplicated, drop_duplicates Mar 23, 2014
@jreback jreback changed the title DEPR: Remove rows and cols deprecated arguments from DataFrame.pivot_table, crosstab, to_csv, to_excel, duplicated, drop_duplicates DEPR: remove code for deprecations from prior versions Mar 27, 2014
@jbrockmendel
Copy link
Member

@mroeschke heads up this and 13777 have been behaving poorly w/r/t getting multiple edits in a short period of time. in this case, I think it silently reverted the rolling.apply edit you made

@mroeschke
Copy link
Member

Thanks for the headsup @jbrockmendel. Let's see if 2nd's time a charm.

@jbrockmendel
Copy link
Member

@TomAugspurger do you have comparative advantage in #23767?

@mroeschke IIRC #22644 was yours, want to finish it off?

@WillAyd didn't you already take care of #18731? if so pls update the checkbox lists

@pandas-dev/pandas-core A few of these that are ambiguous and may need discussion/clarification:

@jreback
Copy link
Contributor

jreback commented Nov 27, 2019

  • +1 on re-enabling .item()
  • +0 on deprecating .add_suffix/.add_prefix, IIRC don't believe was actually deprecated
  • ok with removing .compress() its not very useful anyhow even in numpy, esp for 1-D where its just indexing.

@jorisvandenbossche
Copy link
Member

add_prefix/add_suffix were never deprecated, so there is no discussion about removing them. Someone can open a new issue (or find an existing one) to further discuss deprecating it, but since it is here about removal of actually deprecated things, removed this from the list above.

I think I am fine with np.compress() breaking.

Let's have the discussion about item in #29250 (I am in favor of at least keeping part of it)

@jbrockmendel
Copy link
Member

@jorisvandenbossche there are a couple of these I tried and couldn't figure out. Can I get you to take a look or suggest someone I should bug? First is the how fill_method in resample (needs GH ref). Second is the one for #26403.

@jschendel
Copy link
Member

Second is the one for #26403.

Just opened a PR for that one, see #29955

@jorisvandenbossche
Copy link
Member

First is the how fill_method in resample (needs GH ref)

That deprecation was introduced in #11841. This might be left-overs that were not removed in #20782

@jbrockmendel
Copy link
Member

@mroeschke any others you want to call dibs on before i go to town?

@mroeschke
Copy link
Member

@jbrockmendel I'll probably be slow on deprecations this week. Go for it.

@jorisvandenbossche
Copy link
Member

I moved the deprecations we are doing in 1.0 to a new issue: #30228 (so a similar issue as this to keep a log of deprecations, but starting a fresh one for 1.x)

@jorisvandenbossche jorisvandenbossche modified the milestones: Contributions Welcome, 1.0 Dec 12, 2019
hasnain2808 added a commit to hasnain2808/pandas that referenced this issue Dec 23, 2019
hasnain2808 added a commit to hasnain2808/pandas that referenced this issue Dec 24, 2019
@TomAugspurger
Copy link
Contributor

All the listed deprecations have been cleaned up. Thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Administrative tasks related to the pandas project Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.