title: remove a column from a dataframe spark
body: <p>I have a Spark dataframe with a very large number of columns. I want to remove two columns from it to get a new dataframe.</p>
  
  <p>Had there been fewer columns, I could have used the select method in the API like this:</p>
  
  <pre><code>pcomments = pcomments.select(pcomments.col("post_id"),pcomments.col("comment_id"),pcomments.col("comment_message"),pcomments.col("user_name"),pcomments.col("comment_createdtime"));
  </code></pre>
  
  <p>But since picking columns from a long list is a tedious task, is there a workaround?</p>