Skip to content

Commit

Permalink
and another new call-site
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jan 3, 2019
1 parent ebd1063 commit e287bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/arrays/array_.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def array(data, # type: Sequence[object]
return cls._from_sequence(data, dtype=dtype, copy=copy)

if dtype is None:
inferred_dtype = lib.infer_dtype(data)
inferred_dtype = lib.infer_dtype(data, skipna=False)
if inferred_dtype == 'period':
try:
return period_array(data, copy=copy)
Expand Down

0 comments on commit e287bd8

Please sign in to comment.