tompollard / tableone

Create "Table 1" for research papers in Python
https://pypi.python.org/pypi/tableone/
MIT License
164 stars 41 forks source link

Speed up _cat_describe #14

Closed alistairewj closed 7 years ago

alistairewj commented 7 years ago

This speeds up the _cat_describe function ~10-40 times or so by using the levels as an index in the dataframe

tompollard commented 7 years ago

nice