title: Pandas multiindex: get level values without duplicates
body: <p>So I'm sure this is pretty trivial but I'm pretty new to python/pandas.</p>
  
  <p>I want to get a certain column (Names of my measurements) of my Multiindex as a list to use it in a for loop later to name and save my plots. I'm pretty confident in getting the data I need from my dataframe but i can't figure out how to get certain columns from my index.</p>
  
  <p>So actually while writing the question I kind of figured the answer out but it still seems kind of clunky. There has to be a direct command to do this.
  That would be my code: </p>
  
  <pre><code>a = df.index.get_level_values('File')
  a = a.drop_duplicates()
  a = a.values
  </code></pre>