20 references to GroupBy
Microsoft.Data.Analysis (1)
DataFrame.cs (1)
385GroupBy<TKey> group = GroupBy(columnName) as GroupBy<TKey>;
Microsoft.Data.Analysis.Tests (16)
DataFrameTests.cs (16)
302DataFrame count = df.GroupBy("Bool").Count(); 314DataFrame first = df.GroupBy("Bool").First(); 326DataFrame head = df.GroupBy("Bool").Head(3); 347DataFrame tail = df.GroupBy("Bool").Tail(3); 361DataFrame max = df.GroupBy("Bool").Max(); 375DataFrame min = df.GroupBy("Bool").Min(); 378DataFrame product = df.GroupBy("Bool").Product(); 381DataFrame sum = df.GroupBy("Bool").Sum(); 384DataFrame mean = df.GroupBy("Bool").Mean(); 404DataFrame columnSum = df.GroupBy("Bool").Sum("Int"); 408DataFrame columnMax = df.GroupBy("Bool").Max("Int"); 412DataFrame columnProduct = df.GroupBy("Bool").Product("Int"); 416DataFrame columnMin = df.GroupBy("Bool").Min("Int"); 421DataFrame countIntColumn = df.GroupBy("Bool").Count("Int"); 427DataFrame firstDecimalColumn = df.GroupBy("Bool").First("Decimal"); 439DataFrame grouped = frame.GroupBy("Column1").Count();
Microsoft.ML.Fairlearn (3)
Reductions\UtilityParity.cs (3)
84ProbGroupEvent = Tags.GroupBy("group_id").Count()["label"] / (TotalSamples * 1.0); 98var expectGroupEvent = Tags.GroupBy("group_id").Mean("pred").OrderBy(("group_id"))["pred"]; 112var groupID = Tags.GroupBy("group_id").Mean("pred").OrderBy("group_id")["group_id"];