title: Splitting each item in an array into a separate data frame column
body: <p>I'm relatively new to python.  I have a data frame and I need to split each character of the data in each column into it's own column in another data frame.  I split the data into a dictionary, but just found that I need a new data frame.  Here's the deal:</p>
  
  <p>The source data frame looks like this:</p>
  
  <pre><code>    Col1
  1 100100
  2 000000
  3 020001
  4 100300
  </code></pre>
  
  <p>I have a dictionary like this:</p>
  
  <pre><code>1: "['1', '0', '0', '1', '0', '0']",
  2: "['0', '0', '0', '0', '0', '0']",
  3: "['0', '2', '0', '0', '0', '1']",
  4: "['1', '0', '0', '3', '0', '0']"
  </code></pre>
  
  <p>and need to end up with a data frame in this format:</p>
  
  <pre><code>  0 1 2 3 4 5
  1 1 0 0 1 0 0
  2 0 0 0 0 0 0
  3 0 2 0 0 0 1
  4 1 0 0 3 0 0
  </code></pre>
  
  <p>Any advice would be appreciated - I haven't had any luck in my searches.  I'd assume going direct from the source data to the new data frame is ideal.  Or is using the dictionary I created (source==>dict==>new data frame) a better route?  Thanks.</p>