15 references to GetSingleColumn
Microsoft.Data.Analysis.Tests (15)
DataFrameTests.cs (13)
1294
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Byte"));
1298
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Int"));
1302
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Bool"));
1306
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Char"));
1310
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Decimal"));
1314
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Double"));
1316
SingleDataFrameColumn singles = dataFrame.Columns.
GetSingleColumn
("Float");
1322
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Long"));
1326
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Sbyte"));
1330
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Short"));
1334
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Uint"));
1338
Assert.Throws<ArgumentException>(() => dataFrame.Columns.
GetSingleColumn
("Ulong"));
1342
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"));