title: How to filter through pandas pivot table
body: <p>I have a pivot table created from pandas (DataFrame object). </p>
  
  <p>Currently, I have multiple indexes and I want to be able to filter through some of them. To clarify this is how the pivot tables looks like.</p>
  
  <p><img src="https://i.stack.imgur.com/8nADP.png" alt="enter image description here"></p>
  
  <p>There are 1000s of those. What I want to be able to do is get all the instances where opt_step is 1, cf is <code>pv_area_cost1a</code> and when the optimization is MANHATTAN. The end goal is to be able to graph iterations vs cost for some instances. </p>
  
  <p>The pivot table is called pt. I've tried <code>pt.index.get_level_values['pv_area_cost1a']</code> and I have read the entire page in advanced indexing to no avail.</p>