I have a multiindex pandas dataframe that looks like this (called p_z): I want to be able to select certain rows based on another dataframe (or numpy array) which is multidimensional. It would look like this as a pandas dataframe (called tofpid): I also have it as an awkward array, where it’s a (26692, ) array (each of the entries