Skip to content

Commit

Permalink
Unbox NaT for numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Jan 30, 2019
1 parent 8bd020f commit 43706fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/internals/concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def get_reindexed_values(self, empty_dtype, upcasted_na):
is_datetime64tz_dtype(empty_dtype)):
if self.block is None:
array = empty_dtype.construct_array_type()
return array(np.full(self.shape[1], fill_value),
return array(np.full(self.shape[1], fill_value.value),
dtype=empty_dtype)
pass
elif getattr(self.block, 'is_categorical', False):
Expand Down

0 comments on commit 43706fb

Please sign in to comment.