3 overrides of ElementwiseEquals
Microsoft.Data.Analysis (3)
DataFrameColumns\ArrowStringDataFrameColumn.cs (1)
632public override PrimitiveDataFrameColumn<bool> ElementwiseEquals(DataFrameColumn column)
PrimitiveDataFrameColumn.BinaryOperations.cs (1)
439public override PrimitiveDataFrameColumn<bool> ElementwiseEquals(DataFrameColumn column)
StringDataFrameColumn.BinaryOperations.cs (1)
92public override PrimitiveDataFrameColumn<bool> ElementwiseEquals(DataFrameColumn column)
21 references to ElementwiseEquals
Microsoft.Data.Analysis.Tests (21)
DataFrameIDataViewTests.cs (3)
261Assert.True(df.Columns[i].ElementwiseEquals(newDf.Columns[i]).All()); 273Assert.True(df.Columns["Int"].ElementwiseEquals(newDf.Columns["Int"]).All()); 274Assert.True(df.Columns["Double"].ElementwiseEquals(newDf.Columns["Double"]).All());
DataFrameTests.BinaryOperations.cs (5)
99verify = newColumn.ElementwiseEquals(df1.Columns[i] * 2); 107verify = newColumn.ElementwiseEquals(df1.Columns[i] * df1.Columns[i]); 120verify = df1.Columns[df1.Columns[i].Name].ElementwiseEquals(df2.Columns[df2.Columns[i].Name]); 310newCol = stringColumn.ElementwiseEquals(stringColumnCopy); 344Assert.True(newCol.ElementwiseEquals(addString).All());
DataFrameTests.cs (1)
1383var filteredNullDf = dfTest.Filter(dfTest["col"].ElementwiseEquals(null));
DataFrameTests.Filter.cs (3)
57Assert.True(intFilteredColumn.ElementwiseEquals(dfColumn).All()); 58Assert.True(boolFilteredColumn.ElementwiseEquals(dfColumn).All()); 59Assert.True(longFilteredColumn.ElementwiseEquals(dfColumn).All());
DataFrameTests.Join.cs (8)
102isEqual = joinColumn.ElementwiseEquals(leftColumn); 109isEqual = joinColumn.ElementwiseEquals(compareColumn); 118isEqual = joinColumn.ElementwiseEquals(compareColumn); 124isEqual = joinColumn.ElementwiseEquals(rightColumn); 132isEqual = joinColumn.ElementwiseEquals(leftColumn.Clone(mapIndices)); 138isEqual = joinColumn.ElementwiseEquals(rightColumn.Clone(mapIndices)); 146isEqual = joinColumn.ElementwiseEquals(leftColumn.Clone(numberOfNullsToAppend: join.Rows.Count - leftColumn.Length)); 152isEqual = joinColumn.ElementwiseEquals(rightColumn.Clone(numberOfNullsToAppend: join.Rows.Count - rightColumn.Length));
PrimitiveDataFrameColumnTests.cs (1)
512var filteredNullDf = dfTest.Filter(dfTest["col"].ElementwiseEquals(null));