Skip to content

Commit 4c90553

Browse files
committed
Link to LoadJobConfig.schema in docstring.
1 parent d4c8642 commit 4c90553

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bigquery/google/cloud/bigquery/client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,14 +1272,15 @@ def load_table_from_dataframe(
12721272
project (str, optional):
12731273
Project ID of the project of where to run the job. Defaults
12741274
to the client's project.
1275-
job_config (google.cloud.bigquery.job.LoadJobConfig, optional):
1275+
job_config (~google.cloud.bigquery.job.LoadJobConfig, optional):
12761276
Extra configuration options for the job.
12771277
12781278
To override the default pandas data type conversions, supply
1279-
a BigQuery schema in the job configuration. If a schema is
1280-
supplied, the BigQuery schema will be used to determine the
1281-
correct pandas to parquet type conversion. Indexes are not
1282-
loaded. Requires the :mod:`pyarrow` library.
1279+
a value for
1280+
:attr:`~google.cloud.bigquery.job.LoadJobConfig.schema` with
1281+
column names matching those of the dataframe. The BigQuery
1282+
schema is used to determine the correct data type conversion.
1283+
Indexes are not loaded. Requires the :mod:`pyarrow` library.
12831284
12841285
Returns:
12851286
google.cloud.bigquery.job.LoadJob: A new load job.

0 commit comments

Comments
 (0)