An open API service indexing awesome lists of open source software.

https://github.com/lcvriend/pandas-crosstabs

Better crosstabs for pandas
https://github.com/lcvriend/pandas-crosstabs

aggregation cross-tabulation pandas percentage python styles table

Last synced: about 1 month ago
JSON representation

Better crosstabs for pandas

Awesome Lists containing this project

README

        

# PANDAS CROSSTABS

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/lcvriend/pandas_crosstabs/master?filepath=notebooks%2Fexample.ipynb)

Work in progress to make pandas crosstabs more powerful:
- Create crosstabs with absolute and relative frequencies
- Aggregate data on any level in a crosstab
- Add styling to pandas tables

Some examples:
- [dataframe-plus](https://lcvriend.github.io/pandas_crosstabs/examples/style_dataframe-plus.html)
- [Chaplin](https://lcvriend.github.io/pandas_crosstabs/examples/style_chaplin.html)
- [kindofblue](https://lcvriend.github.io/pandas_crosstabs/examples/style_kindofblue.html)
- [minimal](https://lcvriend.github.io/pandas_crosstabs/examples/style_minimal.html)

Works by adding a semantics accessor to the pandas dataframe.