str.to_time()
does not work if all values are null
#22774
Labels
A-temporal
Area: date/time functionality
bug
Something isn't working
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
Issue description
Hello,
When all the values are null in a string column, polars can't parse them to time unless we specify a format (whatever the format is, it works)
maybe linked to #22370 ?
Expected behavior
expect
df.with_columns(pl.col("timestamp").str.to_time())
to work when all the values arenull
in astr
columnInstalled versions
The text was updated successfully, but these errors were encountered: