title: Fix screwed column data in pandas DataFrame
body: <p>I have pandas DataFrame with screwed column data.</p>
  <p>DataFrame column names: name, city, education, price, country</p>
  <p>DataFrame normal row looks like this:</p>
  <pre><code>|name|city|education|price|country|
  |----|----|---------|-----|-------|
  |'[{&quot;name&quot;:&quot;andrew&quot;}, {&quot;name&quot;:&quot;jack&quot;}]'|'[{&quot;city&quot;:&quot;New York&quot;}]'| '[{&quot;education&quot;:&quot;high&quot;}]'|'[{&quot;price&quot;:&quot;low&quot;}, {&quot;price&quot;:&quot;moderate&quot;}]'| '[{&quot;country&quot;: &quot;US&quot;}, {&quot;country&quot;:&quot;Canada&quot;}]'|
  |'[{&quot;name&quot;:&quot;bob&quot;}, {&quot;name&quot;:&quot;jhon&quot;}}]'|'[{&quot;city&quot;:&quot;Chicago&quot;}, {&quot;city&quot;:&quot;Mexico&quot;}]'|'[{&quot;education&quot;:&quot;low&quot;}, {&quot;education&quot;:&quot;high&quot;}]'| '[{&quot;price&quot;:&quot;high&quot;}, {&quot;price&quot;:&quot;moderate&quot;}]'|'[{&quot;country&quot;: &quot;Mexico&quot;}, {&quot;country&quot;:&quot;Italy&quot;}]'|
  |'[{&quot;name&quot;:&quot;Sean&quot;}]'|'[{&quot;city&quot;:&quot;Acapulco&quot;}]'|'[{&quot;education&quot;:&quot;high&quot;}]'| '[{&quot;price&quot;:&quot;low&quot;}|{&quot;price&quot;:&quot;high&quot;}]'|'[{&quot;country&quot;: &quot;US&quot;}]'|
  </code></pre>
  <p>But some rows are crewed and look like this:</p>
  <pre><code>|name|city|education|price|country|
  |----|----|---------|-----|-------|
  |'[{&quot;education&quot;:&quot;high&quot;}]'|'[{&quot;city&quot;:&quot;New York&quot;}]'|'[{&quot;name&quot;:&quot;andrew&quot;}, {&quot;name&quot;:&quot;jack&quot;}}]'|'[{&quot;country&quot;: &quot;US&quot;}, {&quot;country&quot;:&quot;Canada&quot;}]'| '[{&quot;price&quot;:&quot;low&quot;}, {&quot;price&quot;:&quot;moderate&quot;}]'|
  |'[{&quot;city&quot;:&quot;New York&quot;}]'|'[{&quot;education&quot;:&quot;school&quot;}]'|'[{&quot;name&quot;:&quot;bob&quot;}, {&quot;name&quot;:&quot;jack&quot;}}]'|'[{&quot;country&quot;: &quot;US&quot;}]'|'[{&quot;price&quot;:&quot;low&quot;}]'|
  </code></pre>
  <p>What is the best way to return bad row cells to its places?</p>