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