title: Create a subset of a DataFrame depending on column name
body: <p>I have a pandas DataFrame called <code>timedata</code> with different column names, some of which contain the word Vibration, some eccentricity. Is is possible to create a dataframe of just the columns containing the word Vibration?</p>
  
  <p>I have tried using</p>
  
  <pre><code>vib=[]
  for i in timedata:
      if 'Vibration' in i:
          vib=vib.append(i)
  </code></pre>
  
  <p>to then create a DataFrame based on the indicies of these columns. This really does not seem like the most efficient way to do it and I'm sure there must be something simple to do with list comprehension.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Dataframe of form:</p>
  
  <pre><code>df = DataFrame({'Ch 1:Load': randn(10), 'Ch 2:Vibration Brg 1T ': randn(10), 'Ch 3:Eccentricity Brg 1H ': randn(10), 'Ch 4:Vibration Brg 2T ': randn(10)})
  </code></pre>
  
  <p>Sorry I'm having a slow day! thanks for any help</p>