4 ms·
Are you thinks about something else or is this what you want to do in polars?: https://docs.pola.rs/py-polars/html/reference/dataframe/api/polars.DataFrame.sli
by ericjmorey 3y ago
Are you thinks about something else or is this what you want to do in polars?:
https://docs.pola.rs/py-polars/html/reference/dataframe/api/polars.DataFrame.slice.html https://docs.pola.rs/py-polars/html/reference/dataframe/api/...
- sirfz 3y agoThat just slices rows but something like df[cols] for example would be nice (and is more intuitive), the __slice__ api in python is quiet powerful and I wish polars would take more advantage of it