title: Find Max from each column in data frame
body: <p>How to get max value from data frame using pandas?</p>
  
  <pre><code>df = pd.DataFrame({'one' : [0,1,3,2,0,1],'two' : [0,5,1,0,1,1]})
  </code></pre>
  
  <p>I am using: </p>
  
  <pre><code>df1 = df.max()
  </code></pre>
  
  <p>This gives correct output but the data frame format is changed</p>
  
  <p>I want to retain the original format of dataframe as below:</p>
  
  <pre><code>df1 = pd.DataFrame({'one' : [3],'two' : [5]})
  </code></pre>