Search⌘ K
AI Features

Practice: Oil vs. Banks During Recession

Explore hands-on analysis of oil and bank stocks during a recession by combining multiple datasets, assigning meaningful column names, and calculating max and min closing prices. This lesson helps you apply Python data manipulation and visualization techniques to real financial data.

Task 1: Combining all datasets

Combine all the bank (RBC, CIBC, BMO) and oil company (Suncor, Encana, CNQ) datasets into a single dataset bo (b for bank and o for oil) and ...