Closed
Description
I am having trouble setting the geographical location in pandas.read_gbq
.
In google.cloud.bigquery
I can set the location to asia-northeast1
the following:
from google.cloud import bigquery
bigquery_client = bigquery.Client(project_name)
query_job = bigquery_client.query(query, location='asia-northeast1')
However, I fail to do this in read_gbq
. The following seems not to work:
from pandas_gbq import gbq
dat = gbq.read_gbq(query, project_id=project_name, jobReference={'location':'asia-northeast1'}, dialect='standard')