You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample code below throws ValueError. Ideally it should return a DataFrame with zero rows.
importpandasaspd#This query returns zero rowsquery="SELECT * FROM [publicdata:samples.wikipedia] where timestamp=-9999999"df=pd.io.gbq.read_gbq(query, project_id="my_bigquery_project_id")
Job not yet complete...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/io/gbq.py", line 341, in read_gbq
final_df = concat(dataframe_list, ignore_index = True)
File "pandas/tools/merge.py", line 754, in concat
copy=copy)
File "pandas/tools/merge.py", line 799, in __init__
raise ValueError('All objects passed were None')
ValueError: All objects passed were None
Sample code below throws ValueError. Ideally it should return a DataFrame with zero rows.
The text was updated successfully, but these errors were encountered: