Skip to content

Commit 870b249

Browse files
committed
actual fix
1 parent 3db108e commit 870b249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/pytables.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def _convert_index(index):
720720
else:
721721
kind = 'date'
722722
converted = np.array([time.mktime(v.timetuple()) for v in values],
723-
dtype=np.float64)
723+
dtype=np.int64)
724724
return converted, kind, _tables().Time64Col()
725725
elif isinstance(values[0], basestring):
726726
converted = np.array(list(values), dtype=np.str_)

0 commit comments

Comments
 (0)