tableone
tableone copied to clipboard
Create "Table 1" for research papers in Python
Quick fix - passing an index object to columns causes an error (e.g. `t1 = tableone(df, columns=df.columns)`). Added a check if it's a pandas index data type since it's probably...
When the groupby variable includes null values, how should these nulls be represented in the table? (point raised by @alistairewj).
It would be good to support multilevel groupby arguments. e.g. `groupby = ['icu_type','gender']`. e.g.: achieve something similar to: ```python from tableone import TableOne import pandas as pd url="https://raw.githubusercontent.com/tompollard/tableone/master/data/pn2012_demo.csv" data=pd.read_csv(url) df...
Consider generating a legend populated with details of the table. e.g. this might include: - warnings related to #22 and #23 - * notes on p-values - notes on summary...
Some journals require statistics of hypothesis testing. I found that they are already computed. Maybe, this function that displaying statistics of hypothesis testing is helpful. I just pulled a request....
Add an option 'test_stat' to display statistics of hypothesis testing (default: False). The statistics are already computed. This option is only displaying.
I'd like to do some downstream analysis on the table values, so it'd be really helpful if there was a flag to drop the percentages, allowing them to be easily...
Hi, I hope this is the right place to ask for assistance with the following ValueError, which I couldn't understand. All the info is attached by screenshots. It should be...
Not sure how easy this would be to implement, but making a note of this idea: https://twitter.com/DocEd/status/1572603047590916097 > why don’t we just have a little histogram for each variable in...
I'm getting the following error whenever I set pval=True on a data set. Using Jupyter Notebook via Anaconda running python 3.9 --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /tmp/ipykernel_2037601/677072381.py in...