pandas.api.typing.DataFrameGroupBy.take
pandas 3.1.1 · GroupBy · method
Select values by integer position in the order supplied.
Call syntax
pd.api.typing.DataFrameGroupBy.take(indices, **kwargs)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
indices |
Required Positional or keyword |
array-like Supply the integer positions selected from the input. |
**kwargs |
Optional Additional keyword arguments |
Returns
DataFrame