You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using an earlier version, you should be able to upgrade with one of the following commands (depending on whether you are using conda or pip).
In version 0.7.9, you should be able to switch on/off individual checks. e.g.
# Run Tukey's test for far outliers. If variables are found to
# have far outliers, a remark will be added below the Table 1.
# (default: False)
tukey_test = True
# normal_test : bool, optional
# Test the null hypothesis that a sample come from a normal distribution.
# Uses scipy.stats.normaltest. If variables are found to have non-normal
# distributions, a remark will be added below the Table 1.
# (default: False)
normal_test = True
# dip_test : bool, optional
# Run Hartigan's Dip Test for multimodality. If variables are found to
# have multimodal distributions, a remark will be added below the Table 1.
# (default: False)
dip_test = True
Example with tukey_test, normal_test, dip_test
import pandas as pd
from tableone import load_dataset, TableOne
data = tableone.load_dataset('rhc')
data = load_dataset('pn2012')
table1 = TableOne(data, dip_test=True, normal_test=True, tukey_test=True)
Hi when setting the argument remarks = False in TableOne() I still get the remarks below the table.
The text was updated successfully, but these errors were encountered: