title: parse a complex json object
body: <p>I created this json object from a yaml file. I tried to serialize it but i am getting errors. </p>
  
  <pre><code>{'info': {'city': 'Southampton',
    'dates': [datetime.date(2005, 6, 13)],
    'gender': 'male',
    'match_type': 'T20',
    'outcome': {'by': {'runs': 100}, 'winner': 'England'},
    'overs': 20,
    'player_of_match': ['KP Pietersen'],
    'teams': ['England', 'Australia'],
    'toss': {'decision': 'bat', 'winner': 'England'},
    'umpires': ['NJ Llong', 'JW Lloyds'],
    'venue': 'The Rose Bowl'},
   'innings': [{'1st innings': {'deliveries': [{0.1: {'batsman': 'ME Trescothick',
         'bowler': 'B Lee',
         'non_striker': 'GO Jones',
         'runs': {'batsman': 0, 'extras': 0, 'total': 0}}},
         {'19.6': {'batsman': 'PD Collingwood',
         'bowler': 'GD McGrath',
         'non_striker': 'J Lewis',
         'runs': {'batsman': 0, 'extras': 0, 'total': 0},
         'wicket': {'fielders': ['RT Ponting'],
          'kind': 'caught',
          'player_out': 'PD Collingwood'}}}],
      'team': 'England'}},
      {'2nd innings': {'deliveries': [{'0.1': {'batsman': 'AC Gilchrist',
         'bowler': 'D Gough',
         'non_striker': 'ML Hayden',
         'runs': {'batsman': 0, 'extras': 0, 'total': 0}}},
       {'14.3': {'batsman': 'GD McGrath',
         'bowler': 'SJ Harmison',
         'non_striker': 'MS Kasprowicz',
         'runs': {'batsman': 0, 'extras': 0, 'total': 0},
         'wicket': {'kind': 'bowled', 'player_out': 'GD McGrath'}}}],
      'team': 'Australia'}}]}
  </code></pre>
  
  <p>Any help would be greatly appreciated. I am trying to convert this json object into a row in csv file.</p>
  
  <p><strong>Code that i am trying to run:</strong> </p>
  
  <pre><code>df=pandas.read_json(cric_match_json) # reading json object as pandas dataframe
  df.to_csv()
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <blockquote>
    <p>ValueError: Mixing dicts with non-Series may lead to ambiguous ordering.</p>
  </blockquote>