I am trying to select all columns of a dataframe(df) into a new dataframe where the value of the first row is ==0.
df=
a b c d
0 1 0 3 0
1 2 7 2 2
2 3 5 2 1
new_df:
b d
0 0 0
1 7 2
2 5 1
It feels like a simple task but I am completly stuck in finding something that works. Thanks in advance!