title: Pyspark Edit Schema (json column)
body: <p>I have the following dataframe.</p>
  <p><a href="https://i.stack.imgur.com/gduFD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gduFD.png" alt="df" /></a></p>
  <p>and the schema looks like this.</p>
  <pre><code>root
   |-- nro_ot: decimal(12,0) (nullable = true)
   |-- json_bcg: string (nullable = true)
  </code></pre>
  <p>The column &quot;json_bcg&quot; is just a string and I need to edit the schema to explore the contents.</p>
  <p>function explode() dont work.</p>