big_movers = f500.loc[['Aviva', 'HP', 'JD.com', 'BHP Billiton'], ["rank", "previous_rank"]] bottom_companies = f500.loc['National Grid' : 'AutoNation', ["rank", "sector", "country"]]
What I expected to happen:
To create the new variables
What actually happened:
"None of [Index(['Aviva', 'HP', 'JD.com', 'BHP Billiton'], dtype='object')] are in the [index]"
I’m trying to run the mission on my Jupyter environment but I have that result when I review the CSV the names are correct.