Skip to content

Instantly share code, notes, and snippets.

@anbento0490
Created March 5, 2021 13:24
Show Gist options
  • Save anbento0490/9abf72e339f0e31916d43ccdc6764e77 to your computer and use it in GitHub Desktop.
Save anbento0490/9abf72e339f0e31916d43ccdc6764e77 to your computer and use it in GitHub Desktop.
%%time #outputs the execution time of the python statement
fx_revenues.to_sql('table_name', con = engine, if_exists = 'replace', index= False, schema = "schema_name")
connection.execute('grant select on schema_name.table_name to your_username;')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment