title: how to select all columns that starts with a common label
body: <p>I have a dataframe in Spark 1.6 and want to select just some columns out of it. The column names are like:</p>
  
  <pre><code>colA, colB, colC, colD, colE, colF-0, colF-1, colF-2
  </code></pre>
  
  <p>I know I can do like this to select specific columns:</p>
  
  <pre><code>df.select("colA", "colB", "colE")
  </code></pre>
  
  <p>but how to select, say "colA", "colB" and all the colF-* columns at once? Is there a way like in <a href="https://stackoverflow.com/questions/34096481/how-to-select-all-columns-that-start-with-durations-or-shape">Pandas</a>?</p>