HHammond / PrettyPandas

A Pandas Styler class for making beautiful tables
http://prettypandas.readthedocs.org/
MIT License
415 stars 23 forks source link

Feature request: in addition to axis=0 | 1, also add axis='index' | 'columns' as valid options #33

Closed pybokeh closed 6 years ago

pybokeh commented 8 years ago

Pandas also allow for this. See their github closed issue #9658.

I know it's not a big issue, but for someone not coming from numpy background, makes things easier than trying to remember which axis 0 or 1 is.

HHammond commented 8 years ago

Fixed in https://github.com/HHammond/PrettyPandas/issues/33

HHammond commented 6 years ago

Actually fixed in https://github.com/HHammond/PrettyPandas/pull/48

I did an overhaul of the formatter API to make it compatible with Pandas' style.format and I fixed the precision issues at the same time.

HHammond commented 6 years ago

'columns', 'index', and 'rows' all work for indexing now.