title: How to get maximum column condensed in one row with Pandas?
body: <p>For the following dataframe</p>
  
  <pre><code>df = pd.DataFrame({"a": [1, 0, 11], "b": [7, 0, 0], "c": [0,10,0], "d": [1,0,0],
                     "e": [0,0,0], "name":["b","c","a"]})
  
  print(df)
      a  b   c  d  e name
  0   1  7   0  1  0    b
  1   0  0  10  0  0    c
  2  11  0   0  0  0    a
  </code></pre>
  
  <p>I would like to get one row back that comprises the maximum values of each column plus the name of that column.</p>
  
  <p>E.g. in this case:</p>
  
  <pre><code>a  b  c d e name
  11 7 10 1 0    a
  </code></pre>
  
  <p>How can this be performed?</p>