Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/system/small/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -4658,9 +4658,8 @@ def test_to_gbq_and_create_dataset(session, scalars_df_index, dataset_id_not_cre


def test_to_gbq_table_labels(scalars_df_index):
destination_table = "bigframes-dev.bigframes_tests_sys.table_labels"
result_table = scalars_df_index.to_gbq(
destination_table, labels={"test": "labels"}, if_exists="replace"
labels={"test": "labels"}, if_exists="replace"
)
client = scalars_df_index._session.bqclient
table = client.get_table(result_table)
Expand Down
2 changes: 1 addition & 1 deletion third_party/bigframes_vendored/pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def to_gbq(
specified in `clustering_columns`.

labels (dict[str, str], default None):
Specifies table labels within BigQuery
Specifies table labels within BigQuery.

Returns:
str:
Expand Down