18 references to IndexOf
Microsoft.Data.Analysis (9)
DataFrame.cs (3)
369int columnIndex = _columnCollection.IndexOf(columnName); 628int index = ret.Columns.IndexOf(columnName); 651int index = ret.Columns.IndexOf(columnName);
DataFrame.Join.cs (2)
28int index = dataFrame._columnCollection.IndexOf(column.Name); 35index = dataFrame._columnCollection.IndexOf(column.Name);
DataFrameColumnCollection.cs (3)
145int columnIndex = IndexOf(columnName); 185int columnIndex = IndexOf(columnName); 194int columnIndex = IndexOf(columnName);
GroupBy.cs (1)
133int columnIndex = _dataFrame.Columns.IndexOf(columnName);
Microsoft.Data.Analysis.Tests (9)
DataFrameTests.cs (6)
140int newIndex = dataFrame.Columns.IndexOf("NewIntColumn"); 144int newIndexForOriginalLastColumn = dataFrame.Columns.IndexOf(originalLastColumn.Name); 983int intColumnIndex = df.Columns.IndexOf("Int"); 1370Assert.True(filteredNullDf.Columns.IndexOf("col") >= 0); 1387Assert.True(filteredNullDf.Columns.IndexOf("col") >= 0); 1388Assert.True(filteredNullDf.Columns.IndexOf("index") >= 0);
PrimitiveDataFrameColumnTests.cs (3)
503Assert.True(filteredNullDf.Columns.IndexOf("col") >= 0); 520Assert.True(filteredNullDf.Columns.IndexOf("col") >= 0); 521Assert.True(filteredNullDf.Columns.IndexOf("index") >= 0);