-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
[BUG]: Fix regression in read_table with delim_whitespace=True #36560
Conversation
Test failure seems unrelated |
@phofl Looks like a whatsnew conflict if you can merge master |
� Conflicts: � doc/source/whatsnew/v1.1.3.rst
@dsaxton done |
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.
see #36381 (comment)
Yes, it is correct, that this does not raise an error. But this is not a regression. This combination does not raise an error on 1.0.5. That would be a regular bugfix. Should I add this here or make a separate PR, which won't be backported to 1.1.3? |
Co-authored-by: Daniel Saxton <[email protected]>
Following up on the comments it #36381 , I agree that the behavior still does not match the docstring. I would change the docstring to be "pass the default", not "pass nothing" which is both easier (no code changes!) and clearer (I can think of a defend-able position that |
That is probably a better solution. I would add this here if this is ok @simonjayhawkins ? |
fair point. can either fix here or raise an issue for this. Not raising also applies to read_csv, so if done here should probably include read_csv and would probably need a second release note. I think checking if |
🤔 I've just re-read the docs so ignore my previous comments except about adding a comment to the code for the next reader. |
Ok, will do that. I will open a issue about fixing this for 1.2? |
@simonjayhawkins Done |
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.
Thanks @phofl generally lgtm pending green
@simonjayhawkins Failure seems unrelated? |
restarted travis ci |
That seems to be an issue with the Pipeline. It fails consistently through the PRs |
Thanks. It's was failing intermittently on master and constantly on 1.1.x. I see it's now constantly failing on master too. |
😕 merged master and still arm failures. restarted. |
@simonjayhawkins do you have any idea what the underlying reason might be? |
it's timing out. happening on several PRs. no idea why. |
this looks fine, just resolved conflicts. cc @gfyoung ok here? |
Thanks @phofl |
@meeseeksdev backport 1.1.x |
…h delim_whitespace=True
…itespace=True (#36661) Co-authored-by: patrick <[email protected]>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
We could write a private function which is called from read_csv and read_table with the appropriate default_set alternatively.
Edit: Black_pandas formats files not touched by myself. Was there an update or change of guidelines?