I am wondering, if there is a possibility to do the following more efficient:
mins = argrelextrema(series, np.less)[0]
for i in mins:
courses.loc[i, "MinMax"] = "Min"
Thank you for your help!
I am wondering, if there is a possibility to do the following more efficient:
mins = argrelextrema(series, np.less)[0]
for i in mins:
courses.loc[i, "MinMax"] = "Min"
Thank you for your help!