I'm struggling with this question Say I'm given a data frame consisting of this data.
Country | Year | GDP (Million)|
Australia, 2000, 50
Australia, 2001, 100
USA, 2000, 120
Canada, 2001, 50
There are thousands of columns and they are constantly changing so df[2,3]
isn't an option.
How would I
- Select Australias GDP for just the year 2000
- Find the Average of Australian GDP for the dataset. Thanks for your help