I have grouped columns and got the following sample dataframe. After this I would like to filter IDs which has identical elements in a list.
df
ID Value
1 [0,0,50,0,0]
2 [0,0,0,0,0,0,0]
3 [0,100,0,0,50]
4 [0,0,0,0,0]
I would like to filter IDs which has same elements in a list under Value columns and those elements must be only 0s.
The expected output is just IDs and it should be 2 and 4.
Can anyone help on this?