20 references to GroupBy
Microsoft.Data.Analysis (1)
DataFrame.cs (1)
385
GroupBy<TKey> group =
GroupBy
(columnName) as GroupBy<TKey>;
Microsoft.Data.Analysis.Tests (16)
DataFrameTests.cs (16)
300
DataFrame count = df.
GroupBy
("Bool").Count();
312
DataFrame first = df.
GroupBy
("Bool").First();
324
DataFrame head = df.
GroupBy
("Bool").Head(3);
345
DataFrame tail = df.
GroupBy
("Bool").Tail(3);
359
DataFrame max = df.
GroupBy
("Bool").Max();
373
DataFrame min = df.
GroupBy
("Bool").Min();
376
DataFrame product = df.
GroupBy
("Bool").Product();
379
DataFrame sum = df.
GroupBy
("Bool").Sum();
382
DataFrame mean = df.
GroupBy
("Bool").Mean();
402
DataFrame columnSum = df.
GroupBy
("Bool").Sum("Int");
406
DataFrame columnMax = df.
GroupBy
("Bool").Max("Int");
410
DataFrame columnProduct = df.
GroupBy
("Bool").Product("Int");
414
DataFrame columnMin = df.
GroupBy
("Bool").Min("Int");
419
DataFrame countIntColumn = df.
GroupBy
("Bool").Count("Int");
425
DataFrame firstDecimalColumn = df.
GroupBy
("Bool").First("Decimal");
437
DataFrame grouped = frame.
GroupBy
("Column1").Count();
Microsoft.ML.Fairlearn (3)
Reductions\UtilityParity.cs (3)
84
ProbGroupEvent = Tags.
GroupBy
("group_id").Count()["label"] / (TotalSamples * 1.0);
98
var expectGroupEvent = Tags.
GroupBy
("group_id").Mean("pred").OrderBy(("group_id"))["pred"];
112
var groupID = Tags.
GroupBy
("group_id").Mean("pred").OrderBy("group_id")["group_id"];