I am looking to tidy up some rows in my dataset
output = {
'id1': ['False', 'False', 'False', 'False'],
'id2': ['True', 'False', 'False', 'False'],
'id3': ['True', 'False', 'True', 'False'],
'id4': ['True', 'False', 'True', 'True'],
}
So using the above row 2 contains all false

Due to this i wont need to use it so I would just like to remove it
newoutput = {
'id1': ['False', 'False', 'False'],
'id2': ['True', 'False', 'False'],
'id3': ['True', 'True', 'False'],
'id4': ['True', 'True', 'True'],
}
I got as far as checking for rows with false in it
output.drop(output[output != False].index, inplace=True)
But that just looks at ANY value in row being False and not All