Working with financial data in Python