Data Science, Data Analysis, Data Visualization, Python Programming, Python For Data Science.
.loc attribute, filter the DataFrame to find the annual salary of Romelu Lukaku. This is asking that we set two columns as index columns. Then it asks that we use this hierarchical index to fetch the salary of Romelu Lukaku. Why use a hierarchical index? The hierarchical index is especially crucial