> 1434 for item in bqstorage_download(): opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/table.py in _to_page_iterable(self, bqstorage_download, tabledata_list_download, bqstorage_client) > 1545 bqstorage_client=bqstorage_client opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/table.py in to_arrow(self, progress_bar_type, bqstorage_client, create_bqstorage_client)ġ544 for record_batch in self._to_arrow_iterable( > 1727 create_bqstorage_client=create_bqstorage_client,ġ729 df = record_batch.to_pandas(date_as_object=date_as_object) opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/table.py in to_dataframe(self, bqstorage_client, dtypes, progress_bar_type, create_bqstorage_client, date_as_object)ġ725 progress_bar_type=progress_bar_type, opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/job.py in to_dataframe(self, bqstorage_client, dtypes, progress_bar_type, create_bqstorage_client, date_as_object)ģ381 progress_bar_type=progress_bar_type,ģ382 create_bqstorage_client=create_bqstorage_client, > 591 result = query_job.to_dataframe(bqstorage_client=bqstorage_client) opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/magics.py in _cell_magic(line, query) opt/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell) > 1 get_ipython().run_cell_magic('bigquery', 'stackoverflow -use_bqstorage_api', "SELECT\n CONCAT(\n '',\n CAST(id as STRING)) as url,\n view_count\nFROM `_questions`\nWHERE tags like '%google-bigquery%'\nORDER BY view_count DESC\nLIMIT 10\n") ImportError Traceback (most recent call last)
0 Comments
Leave a Reply. |