mkleinbort-ic

Results 86 comments of mkleinbort-ic

Just to drive that last point home... should `bool` be in that list of number types? Within my codebase, probably yes, within yours maybe not...

I have the same issue

Hi - any chance this will get solved? Else I might fork the repo

Just to illustate how catching a panic exception would be good: ```python try: # {fast polars implementation} except Exception as e: logger.warning(f'Using slow implementation as a result of {e}') df_tmp...

You probably could do pl.struct or pl.concat_list ``` df = pl.DataFrame({ 'A':[1,2,3], 'B':[3,5,6] }) # Each cell is a dictionary of the form {'A': value, 'B':value} df.with_column(pl.struct(['A','B']).alias('C')) shape: (3, 3)...

Not sure I understand the question - can you give an example?

Sorry, I missed your reply. I don't know, but it'd be extremely dangerous if they did ![image](https://user-images.githubusercontent.com/112868935/204851784-998f503e-52f5-4094-b641-7ee70497b533.png) *(with ants as a bugs) Note that if you had a duplicate value...

Also, note you can do this: ```python import polars as pl import functools df = pl.DataFrame({ 'dicts': pl.Series([{'A':1}, {'B':2}, {'A':3}], dtype=pl.Object) }) def my_reduce(values): return functools.reduce(lambda v1, v2: v1|v2, values)...

This sort of works: ```python def _update(self, df_other, join_columns): # The columns that will be updated columns = [c for c in df_other.columns if c not in join_columns] return (...