Haven't investigated but I think this is due to no patients of the given filter but still heading columns exist, for example, if you untick male you get an error for liver disease not being in the df.
Haven't investigated but I think this is due to no patients of the given filter but still heading columns exist,
for example, if you untick male you get an error for liver disease not being in the df.