DataFrame.GroupBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GroupBy(String) |
Groups the rows of the DataFrame by unique values in the |
GroupBy<TKey>(String) |
Groups the rows of the DataFrame by unique values in the |
GroupBy(String)
Groups the rows of the DataFrame by unique values in the columnName
column.
public Microsoft.Data.Analysis.GroupBy GroupBy (string columnName);
member this.GroupBy : string -> Microsoft.Data.Analysis.GroupBy
Public Function GroupBy (columnName As String) As GroupBy
Parameters
- columnName
- String
The column used to group unique values
Returns
A GroupBy object that stores the group information.
Applies to
GroupBy<TKey>(String)
Groups the rows of the DataFrame by unique values in the columnName
column.
public Microsoft.Data.Analysis.GroupBy<TKey> GroupBy<TKey> (string columnName);
member this.GroupBy : string -> Microsoft.Data.Analysis.GroupBy<'Key>
Public Function GroupBy(Of TKey) (columnName As String) As GroupBy(Of TKey)
Type Parameters
- TKey
Type of column used for grouping
Parameters
- columnName
- String
The column used to group unique values
Returns
A GroupBy object that stores the group information.