Adds string subclass check to dataframe.__getitem__#3461
Adds string subclass check to dataframe.__getitem__#3461mrocklin merged 3 commits intodask:masterfrom
Conversation
|
This seems fine to me. It's odd seeing six in the codebase, which hasn't been used historically and isn't an explicit dependency. I notice though that it has been used once in dataframe/io/sql.py for the last year though. Thoughts on if we should add it as an explicit dependency of |
|
Thanks for taking this on @jrbourbeau ! It's really nice to see people who solve other peoples' problems :) |
|
Thanks @mrocklin! |
|
Have no qualms with |
|
Good to know about |
|
It looks like we have string_types already in compatibility.py. @jrbourbeau I recommend using this so that we can just avoid the question altogether. If you felt like fixing the use of six in dask/dataframe/io/sql.py as well that would be welcome :) |
|
Ah, you beat me to the comment |
|
Getting some |
|
Hrm, that's interesting. I agree that it's likely unrelated. Restarting.
We'll see if it recurs.
…On Wed, May 2, 2018 at 5:43 PM, James Bourbeau ***@***.***> wrote:
Getting some OSError: [Errno 12] Cannot allocate memory errors for one of
the builds on Travis. Should be unrelated to the changes made in this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3461 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszEByXPa5YMFT1tdpalltqUdgOFc1ks5tuiiRgaJpZM4TwDKn>
.
|
|
This looks good to me. Thanks @jrbourbeau ! |
|
I guess those were just spurious errors |
|
Merged! Thanks @jrbourbeau ! |
This PR adds string subclass support to
DataFrame.__getitem__Fixes #3297
flake8 daskdocs/source/changelog.rstfor all changesand one of the
docs/source/*-api.rstfiles for new API