helikite.processing.sorting
Attributes
Functions
|
Sort key for ordering of exported dataframes |
Module Contents
- helikite.processing.sorting.logger
- helikite.processing.sorting.df_column_sort_key(export_df: Tuple[pandas.DataFrame, helikite.instruments.base.Instrument]) pandas.DataFrame
Sort key for ordering of exported dataframes
Uses the export_order in the Instrument object to define sort ‘height’ ie. (df, 100) is sorted higher than (df, 50)
- Parameters:
export_df (Tuple[pd.DataFrame, Instrument]) – Tuple of dataframe and Instrument object
- Returns:
Sort order
- Return type:
int