Skip to content
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

Document S3 and GCS path functionality of DataFrame.to_csv() #29920

Merged
merged 3 commits into from
Dec 17, 2019
Merged

Document S3 and GCS path functionality of DataFrame.to_csv() #29920

merged 3 commits into from
Dec 17, 2019

Conversation

oguzhanogreden
Copy link
Contributor

I made more changes than absolutely necessary for documenting this. It's a bit more complete and it reads a more similar to pd.read_csv()

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Question on my end

`newline=''`, disabling universal newlines.
path_or_buf : str, path object, file-like object, default None
If a string is passed, it can be an existing local file path, as
well as a gcs:// or s3:// path. If a file object is passed it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I might be a little too strict, but I'm generally against documenting requirements of third party dependencies - would these not generally fall under the umbrella of being "file-like" to begin with?

@WillAyd WillAyd added the Docs label Nov 29, 2019
@oguzhanogreden
Copy link
Contributor Author

oguzhanogreden commented Nov 29, 2019 via email

@WillAyd
Copy link
Member

WillAyd commented Nov 30, 2019

Yea let’s do that. So I think you can revert the changes to pandas/core/generic, but can keep the typo fix in the IO guide and we can merge

@WillAyd WillAyd added this to the 1.0 milestone Dec 17, 2019
@WillAyd WillAyd merged commit 1006e32 into pandas-dev:master Dec 17, 2019
@WillAyd
Copy link
Member

WillAyd commented Dec 17, 2019

Great thanks @oguzhanogreden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow writing to S3 paths
2 participants