Skip to content

Commit 99b0113

Browse files
committed
doc: update datetime64[ns] to datetime64[us] for pandas version >= 2.0.0
1 parent 33bb872 commit 99b0113

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/reading.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ Inferring the DataFrame's dtypes
5656
The :func:`~pandas_gbq.read_gbq` method infers the pandas dtype for each
5757
column, based on the BigQuery table schema.
5858

59-
================== =========================
59+
================== ============================================
6060
BigQuery Data Type dtype
61-
================== =========================
61+
================== ============================================
6262
BOOL boolean
6363
INT64 Int64
6464
FLOAT64 float64
6565
TIME dbtime
6666
DATE dbdate or object
67-
DATETIME datetime64[ns] or object
68-
TIMESTAMP datetime64[ns, UTC] or object
69-
================== =========================
67+
DATETIME datetime64[ns] (datetime64[us] if pandas version >= 2.0.0) or object
68+
TIMESTAMP datetime64[ns, UTC] (datetime64[us, UTC] if pandas version >= 2.0.0) or object
69+
================== ============================================
7070

7171
If any DATE/DATETIME/TIMESTAMP value is outside of the range of `pandas.Timestamp.min
7272
<https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.min.html>`__

0 commit comments

Comments
 (0)