From 5275a64704aea044aac754644a27edb92e53840e Mon Sep 17 00:00:00 2001 From: qc Date: Tue, 15 Dec 2020 09:20:22 -0500 Subject: [PATCH] DOC: Fix incorrect doc string for infer_dtype (#38375) --- pandas/_libs/lib.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index c5fb20596d7b6..4e451fc33b055 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -1313,7 +1313,7 @@ def infer_dtype(value: object, skipna: bool = True) -> str: 'boolean' >>> infer_dtype([True, False, np.nan]) - 'mixed' + 'boolean' >>> infer_dtype([pd.Timestamp('20130101')]) 'datetime'