-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: to_list as alias for tolist #23398
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
Conversation
Hello @ScientiaEtVeritas! Thanks for submitting the PR.
|
There was a problem hiding this 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.
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
60363b0
to
7df4639
Compare
I've added a commit which reflects the points you mentioned. |
lgtm. @TomAugspurger @jorisvandenbossche if any comments. |
We use `.tolist()` in the docs in a few places. If we're recommend to_list
then we need to update those.
Personally, I don't care which we recommend. NumPy users will be familiar
with tolist. But if we're remvoing
tolist from the API docs, then we should update all the docs.
…On Wed, Oct 31, 2018 at 6:06 PM Jeff Reback ***@***.***> wrote:
lgtm. @TomAugspurger <https://github.com/TomAugspurger>
@jorisvandenbossche <https://github.com/jorisvandenbossche> if any
comments.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23398 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIuOCn_iZiOrp3dJCfM8T3lK0PmzJks5uqkkmgaJpZM4X99sH>
.
|
can you merge master and update the docs as indicated. |
There was a problem hiding this 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
63a1122
to
5d58584
Compare
5d58584
to
b15bfe9
Compare
I merged master – and updated all places where |
thanks @ScientiaEtVeritas |
git diff upstream/master -u -- "*.py" | flake8 --diff