@@ -476,23 +476,12 @@ def read_gbq(query, project_id=None, index_col=None, col_order=None,
476476 The main method a user calls to execute a Query in Google BigQuery
477477 and read results into a pandas DataFrame.
478478
479- The Google Cloud library is used.
480- Documentation is available `here
481- <https://googlecloudplatform.github.io/ google-cloud-python/stable/ >`__
479+ This method uses the Google Cloud client library to make requests to
480+ Google BigQuery, documented `here
481+ <https://google-cloud-python.readthedocs.io/en/latest/bigquery/usage.html >`__.
482482
483- Authentication to the Google BigQuery service is via OAuth 2.0.
484-
485- - If "private_key" is not provided:
486-
487- By default "application default credentials" are used.
488-
489- If default application credentials are not found or are restrictive,
490- user account credentials are used. In this case, you will be asked to
491- grant permissions for product name 'pandas GBQ'.
492-
493- - If "private_key" is provided:
494-
495- Service account credentials will be used to authenticate.
483+ See the :ref:`How to authenticate with Google BigQuery <authentication>`
484+ guide for authentication instructions.
496485
497486 Parameters
498487 ----------
@@ -612,29 +601,18 @@ def to_gbq(dataframe, destination_table, project_id=None, chunksize=None,
612601 The main method a user calls to export pandas DataFrame contents to
613602 Google BigQuery table.
614603
615- Google BigQuery API Client Library v2 for Python is used.
616- Documentation is available `here
617- <https://developers.google.com/api-client-library/python/apis/bigquery/v2>`__
618-
619- Authentication to the Google BigQuery service is via OAuth 2.0.
620-
621- - If "private_key" is not provided:
622-
623- By default "application default credentials" are used.
624-
625- If default application credentials are not found or are restrictive,
626- user account credentials are used. In this case, you will be asked to
627- grant permissions for product name 'pandas GBQ'.
628-
629- - If "private_key" is provided:
604+ This method uses the Google Cloud client library to make requests to
605+ Google BigQuery, documented `here
606+ <https://google-cloud-python.readthedocs.io/en/latest/bigquery/usage.html>`__.
630607
631- Service account credentials will be used to authenticate.
608+ See the :ref:`How to authenticate with Google BigQuery <authentication>`
609+ guide for authentication instructions.
632610
633611 Parameters
634612 ----------
635- dataframe : DataFrame
613+ dataframe : pandas. DataFrame
636614 DataFrame to be written
637- destination_table : string
615+ destination_table : str
638616 Name of table to be written, in the form 'dataset.tablename'
639617 project_id : str (optional when available in environment)
640618 Google BigQuery Account project ID.
0 commit comments