Daniel Barker
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!

    Daniel Barker

    Written by

    Co-Founder @ Phin | Engineer with a cybernetic bent. Unabashed pseudo-intellectual; can usually be found struggling to capture deeper thoughts in prose ’n code.