tableone
tableone copied to clipboard
ValueError: 'Value' is not in list
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.
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.