28 writes to
Microsoft.Data.Analysis (19)
DataFrame.cs (1)
498column[length] = value;
GroupBy.cs (18)
151firstColumn[rowIndex] = key; 176retColumn[rowIndex] = count; 195firstColumn[rowIndex] = key; 217retColumn[rowIndex] = column[row]; 263retColumn[retColumnLength] = column[row]; 268firstColumn[retColumnLength] = key; 321firstColumn[retColumnLength] = key; 324retColumn[retColumnLength] = column[row]; 364firstColumn[rowIndex] = key; 373retColumn[rowIndex] = _dataFrame.Columns[columnIndex].Max(rowEnumerable); 392firstColumn[rowIndex] = key; 401retColumn[rowIndex] = _dataFrame.Columns[columnIndex].Min(rowEnumerable); 420firstColumn[rowIndex] = key; 429retColumn[rowIndex] = _dataFrame.Columns[columnIndex].Product(rowEnumerable); 448firstColumn[rowIndex] = key; 457retColumn[rowIndex] = _dataFrame.Columns[columnIndex].Sum(rowEnumerable); 476firstColumn[rowIndex] = key; 486retColumn[rowIndex] = (double)Convert.ChangeType(_dataFrame.Columns[columnIndex].Sum(rowEnumerable), typeof(double)) / rowEnumerable.Count;
Microsoft.Data.Analysis.Interactive.Tests (2)
DataFrameInteractiveTests.cs (2)
26dataFrameColumn1[length / 2] = null; 27dataFrameColumn2[length / 2] = null;
Microsoft.Data.Analysis.Tests (7)
DataFrameTests.Utils.cs (7)
23dataFrameColumn1[length / 2] = null; 24dataFrameColumn2[length / 2] = null; 109boolColumn[length / 2] = null; 121boolColumn[length / 2] = null; 133stringColumn[length / 2] = null; 140charColumn[length / 2] = null; 154dateTimeColumn[length / 2] = null;
55 references to
Microsoft.Data.Analysis (15)
DataFrame.Join.cs (1)
150if (column[index] == null)
DataFrameColumn.cs (3)
148public virtual bool IsValid(long index) => NullCount == 0 || this[index] != null; 285var value = this[i]; 443sb.Append(this[i] ?? "null");
DataFrameRow.cs (2)
36yield return column[_rowIndex]; 42return _dataFrame.Columns.Select(col => new KeyValuePair<string, object>(col.Name, col[_rowIndex]));
GroupBy.cs (4)
161if (column[row] != null) 217retColumn[rowIndex] = column[row]; 263retColumn[retColumnLength] = column[row]; 324retColumn[retColumnLength] = column[row];
StringDataFrameColumn.BinaryOperations.cs (5)
25ret[i] += column[i].ToString(); 85ret[i] = (string)left[i] == right[i]?.ToString(); 129ret[i] = (string)left[i] != column[i].ToString();
Microsoft.Data.Analysis.Tests (40)
ArrowStringColumnTests.cs (1)
70Assert.Null(clone[i]);
DataFrameTests.BinaryOperations.cs (3)
337Assert.Equal(newCol[i], typedStringColumn[i] + "suffix"); 342Assert.Equal(addString[i], typedStringColumn[i] + "suffix"); 348Assert.Equal(addString[i], "prefix" + typedStringColumn[i]);
DataFrameTests.Computations.cs (12)
67Assert.Null(doubleColumn[i]); 69Assert.Equal(100.0, (double)doubleColumn[i]); 86Assert.Null(floatColumn[i]); 88Assert.Equal(-10.0f, (float)floatColumn[i]); 225Assert.Null(dateTimeColumn[i]); 227Assert.Equal(maxDate, (DateTime)dateTimeColumn[i]); 236Assert.Null(doubleColumn[i]); 238Assert.Equal(100.0, (double)doubleColumn[i]); 255Assert.Null(floatColumn[i]); 257Assert.Equal(-10.0f, (float)floatColumn[i]); 489Assert.Equal(exprectedValue, col3[i]); 506Assert.Equal(exprectedValue, col3[i]);
DataFrameTests.cs (18)
320Assert.Equal(originalColumn[r], firstColumn[r]); 332Assert.Equal(originalColumn[r].ToString(), headColumn[verify[r]].ToString()); 341Assert.Equal(originalColumn[7], headColumn[verify[5]]); 355Assert.Equal(originalColumn[originalColumnVerify[r]].ToString(), tailColumn[tailColumnVerity[r]].ToString()); 369Assert.Equal(((long)(r == 0 ? 8 : 9)).ToString(), maxColumn[r].ToString()); 392Assert.Equal(r == 0 ? "0" : "1", minColumn[r].ToString()); 395Assert.Equal("0", productColumn[r].ToString()); 398Assert.Equal("20", sumColumn[r].ToString()); 617Assert.Equal("3", column[i].ToString()); 624Assert.Equal("7", column[i].ToString()); 632var ocD = column[i]; 633Assert.Equal(df.Columns[c][i], column[i]); 925Assert.Equal(dfColumn[r], cloneColumn[r]); 1245Assert.Equal(i.ToString(), column[i].ToString());
DataFrameTests.Filter.cs (1)
42Assert.Equal(verify[j].ToString(), column[j].ToString());
DataFrameTests.Join.cs (1)
157Assert.Equal(true, isEqual[j]);
StringDataFrameColumnTests.cs (4)
44Assert.Equal(stringColumn[mapIndices[i]], clonedColumn[i]); 60Assert.Equal(stringColumn[mapIndices[mapIndices.Length - 1 - i]], clonedColumn[i]); 76Assert.Equal(stringColumn[mapIndices[i]], clonedColumn[i]); 92Assert.Equal(stringColumn[mapIndices[mapIndices.Length - 1 - i]], clonedColumn[i]);