1 override of Sum
Microsoft.Data.Analysis (1)
PrimitiveDataFrameColumn.Computations.cs (1)
130public override object Sum()
11 references to Sum
Microsoft.Data.Analysis.Tests (10)
DataFrameTests.Computations.cs (10)
117Assert.Equal((ushort)130, df.Columns["Ushort"].Sum()); 140Assert.Throws<NotSupportedException>(() => column.Sum()); 152Assert.Throws<NotImplementedException>(() => column.Sum()); 165Assert.Throws<NotSupportedException>(() => column.Sum()); 176column.Sum(); 286Assert.Equal((ushort)130, df.Columns["Ushort"].Sum()); 309Assert.Throws<NotSupportedException>(() => column.Sum()); 321Assert.Throws<NotImplementedException>(() => column.Sum()); 329Assert.Throws<NotSupportedException>(() => column.Sum()); 339column.Sum();
Microsoft.ML.Fairlearn (1)
Reductions\UtilityParity.cs (1)
143var lambdaEvent = (float)(gPos["value"] - _ratio * gNeg["value"]).Sum() / ProbEvent;