I have dataframe where I want to remove the value NA in all but a specific column (in this case "V1")
df=
V1 V2 V3 V4
A 10 20 NA
B NA NA NA
C 5 20 3
D 15 20 4
E NA 10 5
output=
V1 V2 V3 V4
A 10 20 NA
C 5 20 3
D 15 20 4
E NA 10 5
can anyone suggest me how can proceed I tried
df.dropna(how='all')
but becuase of first column its not able remove