title: Converting the type of a column of a pyspark DataFrame from BigInt to Int
body: <p>when I create a pyspark DataFrame the follwing way:</p>
  
  <pre><code>df = spark.sparkContext.parallelize([
        ('Client1', 'abc', 1),
        ('Client2', 'def', 2),
        ('Client3', 'ghi', 3)
     ]).toDF(['CLIENT_NO', 'CLIENT_FAMILY', 'CLT_INT'])
  </code></pre>
  
  <p>the 'CLT_INT' column is of the type <strong>BigInt</strong>.</p>
  
  <p>Any suggestions on how I can cast that column to not contain <strong>BigInt</strong> but instead <strong>Int</strong> without changing the way I create the DataFrame, i.e., by still using <em>parallelize</em> and <em>toDF</em>?</p>