Polars assumes microseconds instead of reading numpy timedelta units #16029
Labels
A-interop
Area: interoperability with other libraries
A-interop-numpy
Area: interoperability with NumPy
A-timeseries
Area: date/time functionality
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
Checks
Reproducible example
Log output
No response
Issue description
Polars does not seem to read the time unit associated with the numpy timedelta64, and instead assumes microsecond.
Expected behavior
The returned column should have the same time unit as the numpy object (in this case ns)
Installed versions
The text was updated successfully, but these errors were encountered: