I have a column here that looks like this and is part of a dataframe:
df.Days_Since_Earnings
Out[5]: 
0      21.0
2       1.0
4    1000.0
5     500.0
6     119.0
Name: Days_Since_Earnings, Length: 76, dtype: float64
I want to leave it as it is except I want to turn numbers above 120 to 'nan's, so it would look like this:
df.Days_Since_Earnings
Out[5]: 
0      21.0
2       1.0
4       nan
5       nan
6     119.0
Name: Days_Since_Earnings, Length: 76, dtype: float64
thanks to anyone who helps!
 
     
    