python-tabulate icon indicating copy to clipboard operation
python-tabulate copied to clipboard

numpy.datetime64[ns] is wrongly formatted as float

Open zhihanyue opened this issue 2 years ago • 0 comments

To reproduce:

import tabulate
import numpy as np
print(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]]))

Out:

-----------
1.66493e+18
-----------

zhihanyue avatar Feb 17 '23 06:02 zhihanyue