Base:
method
Min
Microsoft.Data.Analysis.DataFrameColumn.Min()
28 references to Min
Microsoft.Data.Analysis (1)
PrimitiveDataFrameColumn.cs (1)
768
min = (float)Convert.ChangeType(
Min
(), typeof(float));
Microsoft.Data.Analysis.Tests (27)
DataFrameTests.Computations.cs (15)
354
Assert.Equal(1, column.
Min
());
377
Assert.Null(column.
Min
());
386
Assert.Null(column.
Min
());
403
Assert.Equal(new DateTime(2020, 1, 1), dateTimeColumn.
Min
());
457
Assert.Equal((byte)byteColumn.
Min
(), range.Select(x => (byte)x).Min());
459
Assert.Equal((decimal)decimalColumn.
Min
(), (decimal)min);
460
Assert.Equal((double)doubleColumn.
Min
(), (double)min);
461
Assert.Equal((float)floatColumn.
Min
(), (float)min);
462
Assert.Equal((int)intColumn.
Min
(), (int)min);
463
Assert.Equal((long)longColumn.
Min
(), (long)min);
464
Assert.Equal((sbyte)sbyteColumn.
Min
(), (sbyte)min);
465
Assert.Equal((short)shortColumn.
Min
(), (short)min);
468
Assert.Equal((uint)uintColumn.
Min
(), range.Select(x => (uint)x).Min());
471
Assert.Equal((ulong)ulongColumn.
Min
(), range.Select(x => (ulong)x).Min());
474
Assert.Equal((ushort)ushortColumn.
Min
(), range.Select(x => (ushort)x).Min());
PrimitiveDataFrameColumnComputationsTests.cs (12)
40
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
50
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
60
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
70
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
80
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
90
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
100
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
110
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
120
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
130
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
140
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));
150
Assert.Equal(Enumerable.Min(Int32Values), Convert.ToInt32(column.
Min
()));