-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Improve IOError handling on missing parent directory for Series/DataFrame write methods #24306 #43436
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
ENH: Improve IOError handling on missing parent directory for Series/DataFrame write methods #24306 #43436
Conversation
leonarduschen
commented
Sep 7, 2021
•
edited
Loading
edited
- closes to_csv - allow to create folders. #24306
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
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.
@twoertwein if you can have a look
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.
One small change here because we changed os.path.dirname
to pathlib.Path.parent
alright tests are good here except for the timed-out one - which seems to occur in other PRs as well |
@twoertwein good here? |
should I resolve the merge conflict? |
Yup. Thanks for the PR! We'll get it merged afterwards. |
…cking isinstance(handle, str) twice
76cbe64
to
069a2de
Compare
Alright done |
thanks @leonarduschen very nice! |