Accessing Google Sheets in Python with df2gspread

from df2gspread import df2gspread as d2gd2g.upload(df, ‘/example-project/example-spreadsheet’, ‘example-worksheet-1’)
file_name = ‘/example-project/example-spreadsheet
for i, df in enumerate(dfs):
sheet_name = f’example-sheet-{str(i+1)}’
d2g.upload(df, file_name, sheet_name)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store