Pandas Series: groupby() function - w3resource
www.w3resource.com › pandas › seriesApr 21, 2020 · Used to determine the groups for the groupby. If by is a function, it’s called on each value of the object’s index. If a dict or Series is passed, the Series or dict VALUES will be used to determine the groups (the Series’ values are first aligned; see .align() method). If an ndarray is passed, the values are used as-is determine the groups.
pandas.Series.groupby — pandas 1.3.5 documentation
https://pandas.pydata.org/.../reference/api/pandas.Series.groupby.htmlpandas.Series.groupby¶ Series. groupby (by = None, axis = 0, level = None, as_index = True, sort = True, group_keys = True, squeeze = NoDefault.no_default, observed = False, dropna = True) [source] ¶ Group Series using a mapper or by a Series of columns. A groupby operation involves some combination of splitting the object, applying a function, and combining the results.