I am stuck in caluculating the highest of the 3 columns and respctive category as per the dataset:
I want to calculate the max confidence category with confidence level and create a dataset with 4 columns like: TC_Name Failure MaxErrCategory MaxConfidence
I have tried capturing the max confidence level for each row but unable to figure out the category:
max_conf=data.max(axis=1)
Kindly help..