Skip to content

Commit

Permalink
Update pandas_gbq/gbq.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chalmer Lowe <[email protected]>
  • Loading branch information
kiraksi and chalmerlowe authored Dec 2, 2023
1 parent f22f95c commit 3fdee66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas_gbq/gbq.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ def read_gbq(
if col_order and not columns:
columns = col_order
elif col_order and columns:
raise ValueError("Must specify either columns or col_order, not both")
raise ValueError("Must specify either columns (preferred) or col_order, not both")

# Change the order of columns in the DataFrame based on provided list
# TODO(kiraksi): allow columns to be a subset of all columns in the table, with follow up PR
Expand Down

0 comments on commit 3fdee66

Please sign in to comment.