Appending pandas Data Frame to Google spreadsheet

前端 未结 5 2091
小蘑菇
小蘑菇 2020-12-06 05:49

Case: My script returns a data frame that needs has to be appended to an existing google spreadsheet as new rows of data.As of now, I\'m appending a data frame as multiple s

5条回答
  •  庸人自扰
    2020-12-06 06:18

    ws = gc.open("sheet title").worksheet("ws")
    
    gd.set_with_dataframe(ws, dataframe)
    

    #simply transform your dataframe to google sheet

提交回复
热议问题