import pandas as pd

# create a dataframe
df = pd.DataFrame({'id': [1, 2, 3, 4, 5],
                   'name': ['Alice', 'Bob', 'Charlie', 'Dave', 'Eve'],
                   'age': [25, 30, 35, 40, 45]})

# set the id and name columns as the primary key index
df.set_index(['id', 'name'], inplace=True)

# display the dataframe with the new primary key index
print(df)

print(df.loc[(2, 'Bob')])