Skip to content

Commit dbd3469

Browse files
committed
Update pandas.read_gbq docs to point to pandas-gbq
The `pandas-gbq` package must be installed to use `pandas.read_gbq`. Also, with soon-to-be-release version 0.3.0 of `pandas-gbq` the Google Cloud client library is used instead of the Google API library. Also, standard SQL is no longer beta. In fact it is highly recommended over using legacy SQL.
1 parent 7627cca commit dbd3469

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pandas/io/gbq.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ def read_gbq(query, project_id=None, index_col=None, col_order=None,
2929
The main method a user calls to execute a Query in Google BigQuery
3030
and read results into a pandas DataFrame.
3131
32-
Google BigQuery API Client Library v2 for Python is used.
33-
Documentation is available `here
34-
<https://developers.google.com/api-client-library/python/apis/bigquery/v2>`__
32+
This function requires the `pandas-gbq package
33+
<https://pandas-gbq.readthedocs.io>`__ which uses the `Google Cloud
34+
BigQuery Client Library for Python
35+
<https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/usage.html>`__
36+
as of version 0.3.0 of the ``pandas-gbq`` library.
3537
3638
Authentication to the Google BigQuery service is via OAuth 2.0.
3739
@@ -70,7 +72,7 @@ def read_gbq(query, project_id=None, index_col=None, col_order=None,
7072
7173
dialect : {'legacy', 'standard'}, default 'legacy'
7274
'legacy' : Use BigQuery's legacy SQL dialect.
73-
'standard' : Use BigQuery's standard SQL (beta), which is
75+
'standard' : Use BigQuery's standard SQL, which is
7476
compliant with the SQL 2011 standard. For more information
7577
see `BigQuery SQL Reference
7678
<https://cloud.google.com/bigquery/sql-reference/>`__

0 commit comments

Comments
 (0)