tompollard / tableone

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

Add Odds Ratio to for categorical variables when using Fisher's Exact #156

Open kmfisch opened 6 months ago

kmfisch commented 6 months ago

Thank you for developing this nice tool! I was wondering it would be possible to include the Odds Ratio as a column in the table when Fisher's Exact test is run on categorical variables. The odds_ratio is calculated in in line 1275 of tableone.py but then it is not returned in line 1286 nor passed through to display in the table. Thank you for your consideration!