Closed
Description
Good afternoon.
I have a table where there is a column named maxDate.
There are some rows (like 1%) that can have the following date: 0001-01-01T00:00:00.
The problem is that it lives in a GBQ from a external vendor to the company, so icannot modify the data and when i call th query like this:
df = pandas_gbq.read_gbq(
sql, credentials=credentials)
I have the error: File "pandas_libs\tslibs\np_datetime.pyx", line 117, in pandas._libs.tslibs.np_datetime.check_dts_bounds
pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1-01-01 00:00:00.
Is there a workaround or config so i can execute the query correctly?
Thank you in advance.