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
- Host: GitHub
- URL: https://github.com/lcvriend/pandas-crosstabs
- Owner: lcvriend
- License: gpl-3.0
- Created: 2019-03-09T09:04:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T19:23:14.000Z (over 5 years ago)
- Last Synced: 2025-03-11T00:12:33.949Z (about 1 month ago)
- Topics: aggregation, cross-tabulation, pandas, percentage, python, styles, table
- Language: Python
- Homepage:
- Size: 232 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PANDAS CROSSTABS
[](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 tablesSome 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.