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