-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binary Variables #111
Comments
I tried looking into the TableOne code a bit, and it's looking like a PR is something I don't have quite enough time for right now, unfortunately. For anyone looking for a quick and dirty solution, you can do the following:
and now it works perfectly! PS: If you want to make your reformatted tables look pretty, you can use some css styles as below:
|
Thanks @jpoles1, we'll take a look at implementing this! |
You wouldn't believe that I started to post this exact feature request a few days ago and then decided not to post it :) I did solve it using pandas as suggested. But I would appreciate if this feature is added :) |
Awesome, thanks such much for the great work on this lib! |
Is there a way to include p values when only displaying the True binary variables? When I used the "quick and dirty" method to only include the binary variables listed as True, the calculated p values were removed from the table. |
It would be nice if there was a way to display binary variables, other than making them categorical, in which case both True and False are shown. The ideal would be to have just the values for the "True" category displayed, I think it would look far more professional!
The text was updated successfully, but these errors were encountered: