Reference docs
DataFrame
groupby() is an alias for groupBy().
groupby()
groupBy()
Added in version 1.4.