title: My Dataframe contains 500 columns, but I only want to pick out 27 columns in a new Dataframe. How do I do that?
body: <p>My Dataframe contains 500 columns, but I only want to pick out 27 columns in a new Dataframe.
  How do I do that?</p>
  <p>I used query()
  but output
  TypeError: query() takes from 2 to 3 positional arguments but 27 were given</p>