Skip to content

Commit b45651d

Browse files
yokomotodpartheatswast
authored
docs: correct the documented dtypes for read_gbq (#598)
Co-authored-by: Anthonios Partheniou <[email protected]> Co-authored-by: Tim Swast <[email protected]>
1 parent d17ae24 commit b45651d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/reading.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,21 @@ column, based on the BigQuery table schema.
5959
================== =========================
6060
BigQuery Data Type dtype
6161
================== =========================
62-
DATE datetime64[ns]
63-
DATETIME datetime64[ns]
6462
BOOL boolean
65-
FLOAT float
6663
INT64 Int64
67-
TIME datetime64[ns]
68-
TIMESTAMP :class:`~pandas.DatetimeTZDtype` with ``unit='ns'`` and ``tz='UTC'``
64+
FLOAT64 float64
65+
TIME dbtime
66+
DATE dbdate or object
67+
DATETIME datetime64[ns] or object
68+
TIMESTAMP datetime64[ns, UTC] or object
6969
================== =========================
7070

71+
If any DATE/DATETIME/TIMESTAMP value is outside of the range of `pandas.Timestamp.min
72+
<https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.min.html>`__
73+
(1677-09-22) and `pandas.Timestamp.max
74+
<https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.max.html>`__
75+
(2262-04-11), the data type maps to the pandas `object` dtype.
76+
7177
.. _reading-bqstorage-api:
7278

7379
Improving download performance

0 commit comments

Comments
 (0)