get_indices_of_uneven_intervals#

API documentation for tradingstrategy.binance.downloader.get_indices_of_uneven_intervals Python function.

get_indices_of_uneven_intervals(df)[source]#

Checks if a time series contains perfectly evenly spaced time intervals with no gaps.

Parameters:

df (pandas.core.frame.DataFrame | pandas.core.series.Series) – Pandas dataframe or series

Returns:

True if time series is perfectly evenly spaced, False otherwise

Return type:

bool