diff --git a/renumics/spotlight/dtypes/conversion.py b/renumics/spotlight/dtypes/conversion.py index c5b7cc12..6e53dca2 100644 --- a/renumics/spotlight/dtypes/conversion.py +++ b/renumics/spotlight/dtypes/conversion.py @@ -245,7 +245,7 @@ def _(value: Union[str, np.str_], _: dtypes.DType) -> Optional[datetime.datetime @convert("datetime") def _(value: np.datetime64, _: dtypes.DType) -> Optional[datetime.datetime]: - return value.tolist() + return value.astype("datetime64[us]").tolist() @convert("Category")