Skip to content

Instantly share code, notes, and snippets.

@merltron-pa
Created September 29, 2020 14:13
Show Gist options
  • Save merltron-pa/7b5013678f685bc37238c3fae6cee0ff to your computer and use it in GitHub Desktop.
Save merltron-pa/7b5013678f685bc37238c3fae6cee0ff to your computer and use it in GitHub Desktop.
multitouch_article_pt4
#authorization
gc = pygsheets.authorize(service_file='google_credentials.json')
#open the google spreadsheet (where 'PY to Gsheet Test' is the name of my sheet)
sh = gc.open("Multi-touchpoint attribution model - Talent Acquisition")
#select the first sheet
wks = sh[1]
#update the first sheet
wks.set_dataframe(attributed_conversion_df,(1,1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment