31 references to Clone
Microsoft.Data.Analysis (23)
DataFrame.cs (2)
203newColumns.Add(Columns[i].Clone(mapIndices)); 687DataFrameColumn newColumn = oldColumn.Clone(sortIndices);
DataFrame.Join.cs (7)
72newColumn = other.Columns[i].Clone(mapIndices); 95newColumn = Columns[i].Clone(mapIndices); 133DataFrameColumn newColumn = Columns[i].Clone(mapIndices); 138DataFrameColumn newColumn = other.Columns[i].Clone(mapIndices); 225shrinkedRetainedColumn = shrinkedRetainedColumn.Clone(indices); 412ret.Columns.Insert(i, this.Columns[i].Clone(mapIndicesLeft)); 418DataFrameColumn column = other.Columns[i].Clone(mapIndicesRight);
DataFrameColumn.cs (1)
247return Clone(sortIndices);
GroupBy.cs (13)
146DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 189DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 208retColumn = column.Clone(empty); 231DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 253retColumn = column.Clone(empty); 285DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 309retColumn = column.Clone(empty); 343retColumn = getColumn == null ? column.Clone(empty) : getColumn(column.Name); 359DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 387DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 415DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 443DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty); 471DataFrameColumn firstColumn = _dataFrame.Columns[_groupByColumnIndex].Clone(empty);
Microsoft.Data.Analysis.Tests (8)
DataFrameTests.Join.cs (4)
108DataFrameColumn compareColumn = rightColumn.Length <= join.Rows.Count ? rightColumn.Clone(numberOfNullsToAppend: join.Rows.Count - rightColumn.Length) : rightColumn.Clone(mapIndices); 117DataFrameColumn compareColumn = leftColumn.Length <= join.Rows.Count ? leftColumn.Clone(numberOfNullsToAppend: join.Rows.Count - leftColumn.Length) : leftColumn.Clone(mapIndices); 132isEqual = joinColumn.ElementwiseEquals(leftColumn.Clone(mapIndices)); 138isEqual = joinColumn.ElementwiseEquals(rightColumn.Clone(mapIndices));
StringDataFrameColumnTests.cs (4)
42var clonedColumn = stringColumn.Clone(new Int32DataFrameColumn("Map Indices", mapIndices)); 58var clonedColumn = stringColumn.Clone(new Int32DataFrameColumn("Map Indices", mapIndices), true); 74var clonedColumn = stringColumn.Clone(new Int64DataFrameColumn("Map Indices", mapIndices)); 90var clonedColumn = stringColumn.Clone(new Int64DataFrameColumn("Map Indices", mapIndices), true);