tableone icon indicating copy to clipboard operation
tableone copied to clipboard

ValueError: 'Value' is not in list

Open Araddotan opened this issue 1 year ago • 1 comments

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 noted that I used Tableone before on the save dataframe and the same variables, and everything worked out fine. Importantly, if I delete 'Ankylosis_of_joint' from the "categorical" list, the issue does not result, just appears as the same ValueError regarding a different column.

Thank you so much. Great tool regardless, helped me a lot.

Screen Shot 2022-10-02 at 0 38 41 Screen Shot 2022-10-02 at 0 38 31 Screen Shot 2022-10-02 at 0 38 23 Screen Shot 2022-10-02 at 0 35 00

Araddotan avatar Oct 01 '22 21:10 Araddotan

I am getting the same error when the data frame obviously has the column name. I've tried resetting the column index and renaming the labels to no avail.

chrisc3 avatar Apr 05 '23 20:04 chrisc3