Reputation: 437
I want to save my dataframe
to a weblink like on a github repository. Any idea, if this is possible. Simply to output a csv
from a dataframe
, we do
df.to_csv('output.csv')
Now, I am working on a virtual environment and want to save output file in a repository/any cloud storage. Any suggestion would help.
Upvotes: 1
Views: 258
Reputation: 7406
Unfortunately, we can't output dataframe to a web link directly but we can use some libraries to store in cloud like S3 - AWS
. You may try Boto
library in python to output and save dataframes to S3
storage on AWS
. You may read the documentation here Link: https://github.com/boto/boto3
Upvotes: 1