SyntaxFix
Write A Post
Hire A Developer
Questions
A small usage of np.nan ! = np.nan
np.nan ! = np.nan
s[s==s] Out[953]: 0 1.0 1 2.0 2 3.0 3 4.0 5 5.0 dtype: float64
More Info
np.nan == np.nan Out[954]: False