Dela via


DataFrame.GroupBy Method

Definition

Overloads

GroupBy(String)

Groups the rows of the DataFrame by unique values in the columnName column.

GroupBy<TKey>(String)

Groups the rows of the DataFrame by unique values in the columnName column.

GroupBy(String)

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

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)

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

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.

Applies to