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