python-tabulate
python-tabulate copied to clipboard
numpy.datetime64[ns] is wrongly formatted as float
To reproduce:
import tabulate
import numpy as np
print(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]]))
Out:
-----------
1.66493e+18
-----------