title: Statistical summary records in Python
body: <p>I have a dataframe (players_all) with game by game statistics on each NBA player, roughly of the form below </p>
  
  <pre><code>            Name   Date  Pts  Ast
  0  Anthony Davis  10/22   25    5
  1  Anthony Davis  10/25   21    2
  2  Anthony Davis  10/27   29    3
  </code></pre>
  
  <p>I'd like to create a summary of statistics, one record per player, such as this:</p>
  
  <pre><code>            Name  Avg_Pts  MinPts  MaxPts  StDevPts
  0  Anthony Davis     25.0      21      29       3.3
  1     Trae Young     27.9       9      49       6.8
  </code></pre>
  
  <p>I supposed I could iterate through player_all by name, create a dataframe at each iteration, pull the statistic I want separately, output into a list, transpose and append all, but I'm guessing there's an easier way. Any ideas?</p>