title: How to extract max value and respective key from multiple dictionary key & values inside an object column in python dataframe
body: <p>I am trying to extract max value and respective key from multiple dictionary key &amp; values inside an object column in python dataframe, can anyone help me out</p>
  <p><strong>df:</strong></p>
  <pre><code>                                          Obj_values
  0                    {&quot;Sony&quot;:25,&quot;Max&quot;:91,&quot;James&quot;:55}
  1                               {&quot;Jack&quot;:12,&quot;Max&quot;:10}
  2                                                 {}
  3
  4                              {&quot;Halk&quot;:21,&quot;Hall&quot;:15}
  5                                            {&quot;H&quot;:1}
  6                       {&quot;Aws&quot;:&quot;k&quot;,&quot;Az&quot;:113,&quot;Gc&quot;:&quot;b&quot;}
  7  {&quot;Max&quot;:60,&quot;HBO&quot;:113,&quot;Sony&quot;:55, &quot;WS&quot;:1256,&quot;James&quot;:55}
  </code></pre>
  <p>I have tried something like below, but still not able to convert the dataframe to dict:</p>
  <pre><code>obj_lst = df[&quot;Obj_values&quot;].tolist()
  df[&quot;Obj_values&quot;] = ast.literal_eval(str(obj_lst))
  
  df[&quot;Obj_values&quot;].dtype
  # dtype('O')
  
  for k,v in df[&quot;Obj_values&quot;].items():
      print(k,v)
  </code></pre>
  <p><strong>Expect result:</strong>
  <a href="https://i.stack.imgur.com/eJOR0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eJOR0.png" alt="enter image description here" /></a></p>