title: Pandas - Error inserting text column into Redshift table
body: <p>I am trying to insert a text column of into a Redshift DB.</p>
  
  <p>I get an error</p>
  
  <pre><code>DataError: value too long for type character varying(256)
  </code></pre>
  
  <p>Given below is the code I tried. The description column has text and the length goes upto 2000 characters. </p>
  
  <p>Could anyone assist on how I could have this column inserted into the table.</p>
  
  <pre><code> DF['description'] = DF['description'].str[:200].astype(str)
  </code></pre>
  
  <p>Could anyone assist, thanks.</p>