title: Keep specific columns from a dataframe pandas
body: <p>I have a dataframe from an import csv using pandas. This dataframe has 160 variables and I would like to keep only 5, 9, 10, 46, 89.</p>
  
  <p>I try this:</p>
  
  <pre><code>dataf2 = dataf[[5] + [9] + [10] + [46] + [89]]
  </code></pre>
  
  <p>but I take this error:</p>
  
  <pre><code>KeyError: '[ 5 9 10 46 89] not in index'
  </code></pre>