Skip to content

Commit 3a5368b

Browse files
committed
Fixed valueerror message
1 parent f22f95c commit 3a5368b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_gbq/gbq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ def read_gbq(
974974
if col_order and not columns:
975975
columns = col_order
976976
elif col_order and columns:
977-
raise ValueError("Must specify either columns or col_order, not both")
977+
raise ValueError("Must specify either columns (preferred) or col_order, not both")
978978

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

0 commit comments

Comments
 (0)