Open jonashaag opened 1 year ago
I think for type Array
we should return either tuples (they have slightly lower memory overhead and better access speed, and the results of an iterated row aren't really meant to be modifiable) or Series.. Lists and dicts for pl.List
and pl.Struct
dtypes are the obvious choices in those cases.
Following the discussion from here https://github.com/pola-rs/polars/pull/8501#issuecomment-1522821918 (cc @alexander-beedie)
I'd like to discuss what should be the iter type of
List
andArray
. Currently we have:I wonder what types users expect if they do a
for ... in list_series:
.