Pandas Genericgbqexception
I'm trying to use try/except to query BigQuery tables, sometimes the query may not be correct in which case pandas raises a GenericGBQException error. My problem is I get name 'Ge
Solution 1:
I suspect you want to catch pd.GenericGBQException
. (Or perhaps gbq.GenericGBQException
-- it depends on your imports. Are you importing the module that defines the exception you're trying to catch?)
Also, consider catching PandasError, the base class of all exceptions from the package: https://github.com/pydata/pandas/blob/master/pandas/io/gbq.py#L85
Post a Comment for "Pandas Genericgbqexception"