Hi all, a simple question regarding plotting. I have a price df and i want to plot price for the next N days prices but do so only if price std is above a certain value, basically this (i tried selecting next N rows but it does not work):
Plot next X days price IF std is above N
plt.plot(price_df["std"] > N, price_df["close"][:X])
Thanks for your time