You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to me to be well-defined and useful. Polars gives
df=pl.DataFrame({"a": dt.timedelta(hours=1, minutes=30)})
df.with_columns(b=pl.col("a") //pl.duration(minutes=35))
# InvalidOperationError: floor_div not allowed on duration[μs] and duration[μs]
#12330 has a list of allowed arithmetic operations in the OP and duration // duration is not mentioned there, but it is also not discussed in that issue. cc @Wainberg
Somewhat similar issues (but also don't discuss duration // duration):
Description
Python allows
This seems to me to be well-defined and useful. Polars gives
#12330 has a list of allowed arithmetic operations in the OP and
duration // duration
is not mentioned there, but it is also not discussed in that issue. cc @WainbergSomewhat similar issues (but also don't discuss
duration // duration
):The text was updated successfully, but these errors were encountered: