pandas-selectable icon indicating copy to clipboard operation
pandas-selectable copied to clipboard

A `select` accessor for easier subsetting of pandas DataFrames and Series

Results 5 pandas-selectable issues
Sort by recently updated
recently updated
newest added

I'm not sure if it's possible. But something like `dta.select.A.str.strip() == ''`. I think you could wrap the non-boolean methods so that they return a selectable column. Need to try...

enhancement

Can't do `~dta.select.A.str.contains('foobar')`

enhancement

Will need to think about how to do this. I think maybe the pandas API could use some improvements here too. There's no attribute selection on the MultiIndex. Something like...

Currently not preventing assigning to a selectable column. E.g., something like `dta.select.ColumnName = "I mistyped ==!"` won't fail and leads to a bad time.

enhancement

Show the verbose code that this can replace

documentation