Closing_Date AAL_Close AAPL_Close
665 2015-01-12 49.580002 27.312500
666 2015-01-13 50.400002 27.555000
667 2015-01-14 49.410000 27.450001
668 2015-01-15 49.410000 26.705000
669 2015-01-16 49.810001 26.497499
I want to divide stock price of today by stock price of yesterday . The first row will result in Nan or empty . It is calculating for daily returns .
I want to divide stock price of today by stock price of yesterday . The first row will result in Nan or empty . It is calculating for daily returns .