15 references to GetSingleColumn
Microsoft.Data.Analysis.Tests (15)
DataFrameTests.cs (13)
1292
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Byte"));
1296
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Int"));
1300
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Bool"));
1304
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Char"));
1308
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Decimal"));
1312
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Double"));
1314
SingleDataFrameColumn singles = dataFrame.Columns.
GetSingleColumn
("Float");
1320
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Long"));
1324
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Sbyte"));
1328
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Short"));
1332
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Uint"));
1336
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Ulong"));
1340
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Ushort"));
DataFrameTests.Merge.cs (2)
732
Assert.NotNull(merge.Columns.
GetSingleColumn
("Float_left"));
733
Assert.NotNull(merge.Columns.
GetSingleColumn
("Float_right"));