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)
302
DataFrame count = df.
GroupBy
("Bool").Count();
314
DataFrame first = df.
GroupBy
("Bool").First();
326
DataFrame head = df.
GroupBy
("Bool").Head(3);
347
DataFrame tail = df.
GroupBy
("Bool").Tail(3);
361
DataFrame max = df.
GroupBy
("Bool").Max();
375
DataFrame min = df.
GroupBy
("Bool").Min();
378
DataFrame product = df.
GroupBy
("Bool").Product();
381
DataFrame sum = df.
GroupBy
("Bool").Sum();
384
DataFrame mean = df.
GroupBy
("Bool").Mean();
404
DataFrame columnSum = df.
GroupBy
("Bool").Sum("Int");
408
DataFrame columnMax = df.
GroupBy
("Bool").Max("Int");
412
DataFrame columnProduct = df.
GroupBy
("Bool").Product("Int");
416
DataFrame columnMin = df.
GroupBy
("Bool").Min("Int");
421
DataFrame countIntColumn = df.
GroupBy
("Bool").Count("Int");
427
DataFrame firstDecimalColumn = df.
GroupBy
("Bool").First("Decimal");
439
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"];