title: Splitting List in Pandas Python
body: <p>I have a list which output like this</p>
  
  <pre><code>[                   0
  0                 PV
  1               Conf
  2                 32
  3                 PF
  4               Test
  5             Output
  6           I/O Test,                    0
  0             PVER-I
  1          PVER-Conf
  2                BFT
  3             PVER-F
  4           COM Test
  5  Output State Test]
  </code></pre>
  
  <p>I want to split it as 0
  so list output should be </p>
  
  <pre><code>[[0 PV, 1 Conf,2 32,.....],[0 PVER-1,......5 Output State Test]]
  </code></pre>
  
  <p>I tried doing this 
   My previous 2 line codes are </p>
  
  <pre><code>    dfo= pd.DataFrame(df_z9[0].str.split().values.tolist())
      list.append(dfo)
  </code></pre>
  
  <p>I did append here because every iteration a new list was created in dfo to add this to the list i used append and then I tried to split it at 0 </p>
  
  <pre><code>for item in list 
      item.split('0', 1)[0]
  </code></pre>
  
  <p>It says this error Dataframe has no variable split</p>