标签: python pandas numpy dataframe
我想知道,如果有可能做到以下更有效:
mins = argrelextrema(series, np.less)[0] for i in mins: courses.loc[i, "MinMax"] = "Min"
感谢您的帮助!