Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
(Datetime|Timedelta)Index +/- np.nan #19274
AFAICT this is now the last thing standing between us and getting rid of ops._Op and ops._TimeOp. Series ops currently case np.nan to pd.NaT whereas Index ops treat it as a float and raise a TypeError.
Note also that the behavior of Series[datetime64] has changed since 0.22.0: