I have some temperature readings that are less than 0 that I want to replace with NaN
I tried this approach but it replaced other values like humidity also as NaN
Df[Df['Temp'] <0] = np.nan
I expect Temp values that are below 0 to be set as NaN without affecting corresponding humidity value