pydeltasnow.utils.continuous_timedeltas¶
- pydeltasnow.utils.continuous_timedeltas(dr)[source]¶
Check for continuity on dates
- Parameters
dr (1D
numpy.ndarraywithnumpy.datetime64dtype) – Input date range.- Returns
continuous (bool) – Whether the datetime array is evenly spaced.
resolution (float) – The time resolution in hours.