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

ENH: to_list as alias for tolist #23398

Merged
merged 8 commits into from
Dec 13, 2018

Conversation

ScientiaEtVeritas
Copy link
Contributor

@pep8speaks
Copy link

Hello @ScientiaEtVeritas! Thanks for submitting the PR.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not be completely averse to hiding .tolist in the tab completion. you can add to _dir_deletions to achieve this.

pandas/core/arrays/categorical.py Show resolved Hide resolved
doc/source/whatsnew/v0.24.0.txt Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 28, 2018

Codecov Report

Merging #23398 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #23398      +/-   ##
==========================================
+ Coverage   92.21%   92.21%   +<.01%     
==========================================
  Files         162      162              
  Lines       51761    51771      +10     
==========================================
+ Hits        47731    47743      +12     
+ Misses       4030     4028       -2
Flag Coverage Δ
#multiple 90.62% <100%> (ø) ⬆️
#single 43.01% <100%> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/series.py 93.7% <ø> (ø) ⬆️
pandas/core/base.py 97.64% <100%> (ø) ⬆️
pandas/core/arrays/categorical.py 95.31% <100%> (ø) ⬆️
pandas/core/indexes/base.py 96.27% <100%> (ø) ⬆️
pandas/util/testing.py 87.41% <0%> (-0.1%) ⬇️
pandas/core/generic.py 96.65% <0%> (ø) ⬆️
pandas/core/groupby/generic.py 87.12% <0%> (+0.04%) ⬆️
pandas/core/groupby/groupby.py 96.67% <0%> (+0.16%) ⬆️
pandas/io/json/json.py 93.09% <0%> (+0.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5389987...c57e8eb. Read the comment docs.

@ScientiaEtVeritas
Copy link
Contributor Author

I've added a commit which reflects the points you mentioned.

doc/source/api.rst Outdated Show resolved Hide resolved
pandas/tests/test_base.py Show resolved Hide resolved
@jreback jreback added this to the 0.24.0 milestone Nov 1, 2018
@jreback
Copy link
Contributor

jreback commented Nov 1, 2018

lgtm. @TomAugspurger @jorisvandenbossche if any comments.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Nov 2, 2018 via email

@jreback
Copy link
Contributor

jreback commented Nov 18, 2018

can you merge master and update the docs as indicated.

@jreback jreback removed this from the 0.24.0 milestone Nov 18, 2018
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls merge master and update as discussed in the comments

@ScientiaEtVeritas
Copy link
Contributor Author

ScientiaEtVeritas commented Dec 11, 2018

I merged master – and updated all places where tolist is used in the docs (at least I think so).

doc/source/whatsnew/v0.24.0.rst Outdated Show resolved Hide resolved
@jreback jreback added this to the 0.24.0 milestone Dec 13, 2018
@jreback jreback merged commit 250dd5f into pandas-dev:master Dec 13, 2018
@jreback
Copy link
Contributor

jreback commented Dec 13, 2018

thanks @ScientiaEtVeritas

Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Add Series.to_list, alias for tolist
4 participants