Update polars to 0.33 (#10672)

# Description
Open question:

Undocumented behavior for the new argument `ambiguous` to the
`as_datetime`
methods. I cheated by passing a default (assuming empty string).
This appears like an API primarily serving the python impl:


https://pola-rs.github.io/polars/py-polars/html/reference/expressions/api/polars.Expr.str.to_datetime.html#polars-expr-str-to-datetime


# User-Facing Changes
Only dependent on breaking changes to the behavior of polars.

# Tests + Formatting
No observed changes to tests

Manually checked `dfr as-datetime`, doesn't seem to panic.
This commit is contained in:
Stefan Holderbach
2023-10-11 21:28:18 +02:00
committed by GitHub
parent c5545c59c6
commit c925537c48
6 changed files with 59 additions and 54 deletions

View File

@ -148,7 +148,7 @@ fn command(
TimeUnit::Nanoseconds,
false,
None,
None,
&Default::default(),
)
} else {
casted.as_datetime(
@ -157,7 +157,7 @@ fn command(
false,
false,
None,
None,
&Default::default(),
)
};