Skip to content

Commit bfeda79

Browse files
tswastTomAugspurger
authored andcommitted
Update pandas.read_gbq docs to point to pandas-gbq (#18548)
(cherry picked from commit 5cd5e3b)
1 parent 8944daf commit bfeda79

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/source/install.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ Optional Dependencies
258258
<http://www.vergenet.net/~conrad/software/xsel/>`__, or `xclip
259259
<https://github.com/astrand/xclip/>`__: necessary to use
260260
:func:`~pandas.read_clipboard`. Most package managers on Linux distributions will have ``xclip`` and/or ``xsel`` immediately available for installation.
261-
* For Google BigQuery I/O - see `here <https://pandas-gbq.readthedocs.io/en/latest/install.html#dependencies>`__
261+
* `pandas-gbq <https://pandas-gbq.readthedocs.io/en/latest/install.html#dependencies>`__: for Google BigQuery I/O.
262+
262263

263264
* `Backports.lzma <https://pypi.python.org/pypi/backports.lzma/>`__: Only for Python 2, for writing to and/or reading from an xz compressed DataFrame in CSV; Python 3 support is built into the standard library.
264265
* One of the following combinations of libraries is needed to use the

pandas/io/gbq.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ 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>`__.
3534
3635
Authentication to the Google BigQuery service is via OAuth 2.0.
3736
@@ -70,7 +69,7 @@ def read_gbq(query, project_id=None, index_col=None, col_order=None,
7069
7170
dialect : {'legacy', 'standard'}, default 'legacy'
7271
'legacy' : Use BigQuery's legacy SQL dialect.
73-
'standard' : Use BigQuery's standard SQL (beta), which is
72+
'standard' : Use BigQuery's standard SQL, which is
7473
compliant with the SQL 2011 standard. For more information
7574
see `BigQuery SQL Reference
7675
<https://cloud.google.com/bigquery/sql-reference/>`__

0 commit comments

Comments
 (0)