split_around_gaps
- split_around_gaps(df, min_gap_length)[source]
Split input DataFrame into multiple DataFrames around the gaps in the index
- Parameters:
df (DataFrame) – The input data with time as rows and depth as columns.
min_gap_length (str) – The timedelta of the minimum possible gap. Specifies what is actually considered as an enough duration of gap to split the input dataframe around it. F.e. with “1m” value every gap with the duration more than 1 minute will be used as a split point.
- Returns:
List of dataframes
- Return type:
list