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)
115Assert.Equal((ushort)130, df.Columns["Ushort"].Sum()); 138Assert.Throws<NotSupportedException>(() => column.Sum()); 150Assert.Throws<NotImplementedException>(() => column.Sum()); 163Assert.Throws<NotSupportedException>(() => column.Sum()); 174column.Sum(); 284Assert.Equal((ushort)130, df.Columns["Ushort"].Sum()); 307Assert.Throws<NotSupportedException>(() => column.Sum()); 319Assert.Throws<NotImplementedException>(() => column.Sum()); 327Assert.Throws<NotSupportedException>(() => column.Sum()); 337column.Sum();
Microsoft.ML.Fairlearn (1)
Reductions\UtilityParity.cs (1)
143var lambdaEvent = (float)(gPos["value"] - _ratio * gNeg["value"]).Sum() / ProbEvent;