flasc.data_processing.dataframe_manipulations.df_sort_and_find_duplicates

flasc.data_processing.dataframe_manipulations.df_sort_and_find_duplicates#

flasc.data_processing.dataframe_manipulations.df_sort_and_find_duplicates(df)[source]#

This function sorts the dataframe and finds rows with equal time index.

Parameters:

df (pd.Dataframe) -- An (unsorted) dataframe

Returns:

Dataframe sorted by time duplicate_entries_idx ([list of int]): list with indices of the former

of two duplicate rows. The indices correspond to the time-sorted df.

Return type:

pd.Dataframe