mkleinbort-ic
mkleinbort-ic
Just a tidy up of the previous comment if anyone wants it: ```python def update(self:pl.DataFrame, df_other:pl.DataFrame, join_columns:list[str])->pl.DataFrame: '''Updates dataframe with the values in df_other after joining on the join_columns''' #...
Adding the relevant comment from https://github.com/pola-rs/polars/issues/11805 Namely: https://github.com/pola-rs/polars/issues/11805#issuecomment-1766988984 > There are fast paths for the comparison operators , =, but not for == or !=. [See here](https://github.com/pola-rs/polars/blob/main/crates/polars-core/src/chunked_array/comparison/scalar.rs#L56-L84). I believe there...
For a more minimal example: ```python import polars as pl from datetime import datetime df = pl.DataFrame({ 'someDatetime' : datetime(2023,1,1), }) df < 'Some Text' >>> shape: (1, 1) ┌──────────────┐...
I'm happy on my end, it's just a sharp corner I thought I'd raise
Very much needed, and simpler now that count() does not include nulls. Note that this is possible but tricky to implement when working on `pl.element().value_counts()` as it requires unpacking and...
Sorry I deleted my comment, I realized I could just use `.rank()`
Thank you. In my case I don't have nulls so this will be ok. Can't say I love `pl.int_range(1, pl.len()+1)`, but this is a closed issue and thus not a...
Not sure if related, but today I was trying do complex opeation: ```python pl.col('value').pct_change().over('entityId').rank().over('date') ``` On a table a bit like: |date|entityId|value| |----|----|----| | 2020-01-01| "K" | 7| | 2020-01-02|...
The issue remains in version 0.19.19
Any updates on this?