Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't mangle pd.NaT and np.nan in dp.unqiue() #22295
Code Sample, a copy-pastable example if possible
import pandas as pd pd.unique([np.nan, pd.NaT]) # returns [nan]
This result is a little bit inconsistent, because:
returns False, i.e. np.nan and pd.NaT are not the same.