return data[[(j in [71, 84] and t in ['Dodgers', 'Mets']) for t, j, g in
    data.index]].T[[(obs in ['John', 'Ralph']) for obs, obstype in data.
    columns]].T
Using boolean indexing for row and column MultiIndex in Pandas