Skip to content

Instantly share code, notes, and snippets.

@seonews-ru
Created December 30, 2018 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seonews-ru/dc5109ea9fba637d46a637dfc5b68ecc to your computer and use it in GitHub Desktop.
Save seonews-ru/dc5109ea9fba637d46a637dfc5b68ecc to your computer and use it in GitHub Desktop.
Как использовать Google BigQuery с помощью Python
result = client.load_table_from_dataframe(df, table_ref).result() # Передаем данные из dataframe в BQ-table
table = client.get_table(table_ref) # Заново получаем данные о таблице
print(table.num_rows) # Отображаем новое количество строк
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment