may I get some help in replicating the function, with input a pandas series, below? I\'m new to Python. Thanks!
Interpretation is the closing price on Day 2 i