Calculating Simple Statistics with Python and Pandas: Stock Market Data