-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: meth 'DataFrame.to_pickle' and func 'read_pickle' to accept URL GH#30163 #30301
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
@suzutomato i see multiple PRs that you are opening and then closing this needs tests |
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.
needs tests
It feels like getting pickles over networks is antithetical to their recommended use due to the security implications. |
b1b69e4
to
2b62da0
Compare
fc65107
to
e736b0a
Compare
Sorry for the mess I've made, as well as the delay on this PR. 2 Azure pipelines were failed/canceled due to timeout. I'll push agin later if that's the best way to rerun them. |
can you merge master and ping on green. |
@jreback |
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.
looks good a few comments, ping on green.
…to pickle.py, move the updates to other enhancement in v1.0.0.rst
Hello @suzutomato! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-01-09 12:17:29 UTC |
@jreback Thank you for review. Updated accordingly, please take a look. Let me know if I misunderstood anything. |
That was my initial reaction too. Do we want to encourage this? |
this is a pretty common pattern actually; |
Fair enough. We do have a warning in the read_pickle docs. May want to re-emphasize that in the |
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.
Looks good, aside from a doc question.
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.
lgtm. @TomAugspurger ok here?
Fixed the merge conflict. Good to merge when CI passes. |
thanks @suzutomato very nice! |
Thank you @jreback and @TomAugspurger for guidance and your patience! |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff