Export Google BigQuery data to Python Pandas dataframe -



Export Google BigQuery data to Python Pandas dataframe -

i've been researching how export bigquery info pandas. there 2 methods:

export file cvs , load - https://cloud.google.com/bigquery/exporting-data-from-bigquery

directly pull info pandas frame. doesn't seem work here method - pandas.io.gbq.read_gbq(query, project_id=none, index_col=none, col_order=none, reauth=false) . appears gbq has been discontinued?

could please suggest best , efficient way go this?

thank you.

the gbq.read_gbq method works in pandas .15.0-1 upgraded .14.0-1 check (windows 7). if using python, recommend getting info dataframe google bigquery utilize analysis work.

it hard how overcome issue without more information, start checking if authentication flow completing in browser logged google business relationship , troubleshoot there. there deprecation warning on first authentication flow (oauth2client.tools.run), still work.

other that, seek next examples here: http://pandas-docs.github.io/pandas-docs-travis/io.html#io-bigquery

fyi, in current dev branch, alternative gcloud authentication beingness added create headless authentication more convenient.

python pandas google-bigquery

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -