3 ms·
polars only has 1D columns, it's columnar just like pandas. IME xarray and pandas have to be used together. Neither can do what the other does. (Well, some peo
by kzrdude 4y ago
polars only has 1D columns, it's columnar just like pandas.
IME xarray and pandas have to be used together. Neither can do what the other does. (Well, some people try to use pandas for stuff that should be numpy or xarray tasks.)
- kzrdude 4y agoAddendum: Polars doesn't even have index so no multiindex either. I haven't gotten deep enough into polars to understand why and what it breaks, but it feels wrong to replace pandas with something without index.
- Tarq0n 4y agoIndexes don't really do anything useful that's not covered by.group_by() and .over(). There is no loss of functionality.
- kzrdude 4y agoRight, it's still possible. But less close to hand and never automatic. Series also become less useful when they are just a sequence instead of an almost mapping (with an index) or a sparse sequence (with subset of larger index)