To allow is_ordered_datetime() to handle tz-aware vectors, use pandas.to_series().diff(), and ensure function to properly handle np.ndarray, pd.series, pd.datetimeindex.
Fixes #871
Type of change
Please delete options that are not relevant.
[x] Bug fix
How Has This Been Tested?
pytest local passed. Github action test passed workflow run
Description
To allow is_ordered_datetime() to handle tz-aware vectors, use pandas.to_series().diff(), and ensure function to properly handle np.ndarray, pd.series, pd.datetimeindex.
Fixes #871
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
pytest local passed. Github action test passed workflow run