Skip to content

Commit 972bad3

Browse files
committed
skipna
1 parent 3fcdfce commit 972bad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/lib.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,9 +1379,9 @@ def infer_dtype(value: object, skipna: bool = True) -> str:
13791379
return "mixed-integer"
13801380

13811381
elif PyDateTime_Check(val):
1382-
if is_datetime_array(values):
1382+
if is_datetime_array(values, skipn=skipna):
13831383
return "datetime"
1384-
if is_date_array(values):
1384+
if is_date_array(values, skipna=skipna):
13851385
return "date"
13861386

13871387
elif PyDate_Check(val):

0 commit comments

Comments
 (0)