GroupBy.get_group()
pandas.core.groupby.GroupBy.get_group
-
GroupBy.get_group(name, obj=None)
-
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 : type of obj
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.core.groupby.GroupBy.get_group.html