-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
Description
Hi all
I couldn't find a good answer to this on StackOverflow, but I was trying to understand what the conceptual difference were between GroupBy, DataFrameGroupby, and SeriesGroupBy were given that they are mentioned separately in the pandas documentation. I looked through the source code and it looks like GroupBy
has an overlap of methods that can be used for both Dataframes and Series objects? However, it seems like most SeriesGroupBy methods are only for Series objects. Likewise, DataframeGroupBy
methods are only for Dataframe objects. There seems to be some overlap with GroupBy
and DataframeGroupBy
methods, but not with SeriesGroupBy
, which is why I'm a little confused.
Thanks!