title: Transform vs. aggregate in Pandas
body: <p>When grouping a Pandas DataFrame, when should I use <code>transform</code> and when should I use <code>aggregate</code>?  How do
  they differ with respect to their application in practice and which one do you
  consider more important?</p>