python Invalid comparison between dtype=datetime64[ns] and date code example Example: Invalid comparison between dtype=datetime64[ns] and date filter pd.Timestamp('today').floor('D')