Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One thing I do like about pandas is it’s pretty extensible to columns of new types. Maybe I’m missing something, but does Polars allow this? Last time I checked there wasn’t a clear path forward.


I'm curious, when do you want to add a new column type? It's not a situation I've been in.


GeoPandas is one popular library (https://geopandas.org/en/stable/)

I added a column type for full text search, searching tokenized text (https://github.com/softwaredoug/searcharray)

The pandas support for extensions is very robust with extensive testing to make sure you can do all the data aggregations functionality you expect in and pandas column.


OTOH the list and struct types allow lots of complex operations, e.g with `.eval`, which run blazingly fast.


Ibis allows this with custom datatypes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: