-
Notifications
You must be signed in to change notification settings - Fork 293
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
pandas upgrade causes read_table warnings #352
Comments
I've done some reading on the Pandas GH, it seems like the read_table method will now be getting un-deprecated in v0.25.0 (release scheduled for 07/01/19). As such, I'd recommend to not make any changes and simply upgrade to the latest version of Pandas when it is released. AFAIK, datahub is running Pandas v0.23.4, so the deprecation warning should not show up there at all. |
Have the pandas folks documented that decision anywhere? I don't see any decision in that link to the issue over on Pandas to undeprecate read_table. |
Perhaps we should weigh in on the side of maintain read_table with its
broader notion than csv to help move this to close. ( If read_csv does more
than what it says, so be it.) A rather discouraging dialog and no clear
conclusion. Is there a way to suppress the warning while they go back and
forth on this?
…On Sat, Jun 8, 2019 at 8:45 AM davidwagner ***@***.***> wrote:
Have the pandas folks documented that decision anywhere? I don't see any
decision in that link to the issue over on Pandas to undeprecate read_table.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#352?email_source=notifications&email_token=ABSX42TFEB6LMYJPK3ITTJDPZPHZZA5CNFSM4HSTBLMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHXBDI#issuecomment-500134029>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABSX42RUABM3FU6D7RHH2LDPZPHZZANCNFSM4HSTBLMA>
.
|
@davidwagner Yes, if you go to the bottom of the issue that I linked to above, the Pandas folks have added the issue to the v0.25.0 release and the last comment says something similar. @deculler as far as I know (and based off the testing I’ve done) there is no warning in Datahub at this time (since the version of pandas installed on that server is a couple versions old). Are you seeing this on there or locally? |
There was datahub warnings during the pedagogy bootcamp last week, but may
been resolved by rollback. Our dependence is so light that we can
certainly wait this one out and see what they do.
…On Sun, Jun 9, 2019, 3:11 PM Adnan Hemani ***@***.***> wrote:
@davidwagner <https://github.com/davidwagner> Yes, if you go to the
bottom of the issue that I linked to above, the Pandas folks have added the
issue to the v0.25.0 release and the last comment says something similar.
@deculler <https://github.com/deculler> as far as I know (and based off
the testing I’ve done) there is no warning in Datahub at this time (since
the version of pandas installed on that server is a couple versions old).
Are you seeing this on there or locally?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#352?email_source=notifications&email_token=ABSX42T4NNZ6SBV5KTRWT4TPZV5XRA5CNFSM4HSTBLMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXITIBY#issuecomment-500249607>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABSX42UEF6GQQ5EHZX73EL3PZV5XRANCNFSM4HSTBLMA>
.
|
I'm inclined to think we should change read_table to read_csv in the datascience library. I don't see any downside, as it seems to have the same functionality and is just a different name for the code; and it makes datascience work more cleanly with all versions of pandas, so it takes this issue off the table. |
I'm mainly scared of an API change on this function since it's so vital to this library and I don't understand the edge cases well enough - I have a feeling any change will affect the edge cases (non csv files that are currently supported). But I can work on a patch if everyone else thinks it might be best to switch over. |
I think it is unlikely that pandas folks will remove non-csv functionality
from read_csv. Too much already relies on that. Certainly they won't
while still agonizing through this API change-or-not. So I think we are
safe to make the switch while pandas settles down. We will want to think
about passing kwargs through at some point.
…On Sun, Jun 9, 2019, 8:44 PM Adnan Hemani ***@***.***> wrote:
I'm mainly scared of an API change on this function since it's so vital to
this library and I don't understand the edge cases well enough - I have a
feeling any change will affect the edge cases (non csv files that are
currently supported). But I can work on a patch if everyone else thinks it
might be best to switch over.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#352?email_source=notifications&email_token=ABSX42QOA2CKWPICU7UAC6DPZXE2NA5CNFSM4HSTBLMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXI3HCA#issuecomment-500282248>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABSX42TVFAWHBSO56G5GAYDPZXE2NANCNFSM4HSTBLMA>
.
|
Fixed by #362 |
read_table
now causes pink warning boxes in notebooks sincepd.read_table
has been deprecated in favor ofpd.read_csv
The text was updated successfully, but these errors were encountered: