Why does this:
df_data = pd.DataFrame([[1, 2, 3], [4,5,6]], index=pd.MultiIndex.from_tuples([(1,1), (1,2)]))
print(df_data.loc[[(13,37)]])
Return a non-existing row filled with NaN
0 1 2
13 37 NaN NaN NaN
instead of throwing a KeyError
exception as it would if I tried to access it with df_data.loc[(13,37)]
?