-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Add Storage Options kwarg to read_table #43239
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
606d64e
to
c9eab65
Compare
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, but I think this needs a whatsnew.
@@ -122,6 +123,17 @@ def test_csv_options(fsspectest): | |||
assert fsspectest.test[0] == "csv_read" | |||
|
|||
|
|||
def test_read_table_options(fsspectest): |
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.
Could we parametrize the test added back then?
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.
Technically changing the order of the arguments might break user code, but I don't think this is a real issue?
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.
Technically changing the order of the arguments might break user code, but I don't think this is a real issue?
Its a kwarg do you have an example of how this might break user code?
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.
Could we parametrize the test added back then?
Fair point they could be. The pattern used in the following tests in this file is the same. But I think thats better off as a sep issue.
test_csv_options
test_excel_options
test_arrowparquet_options
test_fastparquet_options
test_feather_options
test_pickle_options
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.
They aren't key word only yet, but as I said probably not relevant.
Yeah agree with the tests. Have not looked that closely, just checked the linked pr and saw that the test was the same, so was wondering
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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
storage_options
parameter missed inread_table
method? #39167Follow up from #35381 - looks like this was missed
Not sure if this is an enhancements or a bug given the docs already mention this arg is supported.
https://pandas.pydata.org/docs/reference/api/pandas.read_table.html