title: How to create columns from list values in Pyspark dataframe
body: <p>I have a pyspark dataframe which looks like this:</p>
  
  <pre><code>Subscription_id Subscription parameters
  5516            ["'catchupNotificationsEnabled': True","'newsNotificationsEnabled': True","'autoDownloadsEnabled': False"]
  </code></pre>
  
  <p>I need the output Dataframe to be as:</p>
  
  <pre><code>Subscription_id catchupNotificationsEnabled newsNotificationsEnabled    autoDownloadsEnabled
  5516    True    True    False
  </code></pre>
  
  <p>How Can I achieve this in Pyspark? I have tried several options using UDF but couldn't succeed.</p>
  
  <p>Any help is greatly appreciated. </p>