feat: add func that retrived min and max from df

This commit is contained in:
Skudalen 2021-06-23 11:45:03 +02:00
parent fee616d7d6
commit 01a007ac10

View File

@ -40,9 +40,10 @@ class CSV_handler:
def get_emg_str(emg_nr):
return 'emg' + str(emg_nr)
def get_min_max_timestamp():
def get_min_max_timestamp(df:DataFrame):
min = df['timestamp'].argmin
max = df['timestamp'].argmax
return min, max