Sep 3, 2018 · 1 min read
Glad to hear it helped, Edwin. I haven’t looked into it personally, but I doubt there’s functionality to natively export the pandas dataframe to a Google sheet. Off the top of my head, you might be able to use the pandas.DataFrame.to_csv() method to convert the dataframe to CSV, then read the comma separated values back using the IO module, then writing that into the Google sheet. That’s pretty hack-ish though. I’d take a closer look at the Google API docs to see if there’s something more suitable. Good luck!
