Created
December 30, 2018 14:51
-
-
Save seonews-ru/dc5109ea9fba637d46a637dfc5b68ecc to your computer and use it in GitHub Desktop.
Как использовать Google BigQuery с помощью Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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