pandas.core.groupby.GroupBy.get_group — pandas 0.24.2 documentation (original) (raw)
GroupBy.
get_group
(name, obj=None)[source]¶
Constructs NDFrame from group with provided name.
Parameters: | name : object the name of the group to get as a DataFrame obj : NDFrame, default None the NDFrame to take the DataFrame out of. If it is None, the object groupby was called on will be used |
---|---|
Returns: | group : same type as obj |