Evaluation of polars.datetime
returns null when dealing with nanoseconds
#16124
Labels
A-timeseries
Area: date/time functionality
bug
Something isn't working
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
Log output
No response
Issue description
It is possible to include nanoseconds when creating an expression with
polars.datetime
. However, when the expression gets evaluated, the result isnull
(see examples above).Expected behavior
A warning should be raised that
polars.datetime
cannot be evaluated if nanoseconds are included. Additionally, the option "ns" might need to be removed from the documentation of the parametertime_unit
.Installed versions
The text was updated successfully, but these errors were encountered: