r/IPython • u/tbhoggy • Nov 27 '18
Pandas DataFrames to Google Sheets?
Heyo! I spend a good amount of time taking dataframes, outputing them into csvs, then importing those csvs into Google sheets to share with stakeholders.
Anyone have a good way to get (small) dataframes into Google Sheets from a notebook.
Looking for resources, juptyter plugins, words to google, whatever!
Thanks!
2
Upvotes
2
u/satellite_friend Nov 28 '18
I had success with https://pypi.org/project/gspread-pandas/.
In the same vein as
to_csv(), you can useto_clipboard()for the quick ad-hocs.0
u/frenando Nov 27 '18
just use pandas DataFrame method .to_csv("my_csv_name.csv")
0
u/[deleted] Nov 27 '18
[deleted] — view deleted comment
0
u/[deleted] Nov 27 '18
[deleted] — view deleted comment