45 instantiations of StringDataFrameColumn
Microsoft.Data.Analysis (12)
DataFrame.cs (2)
221StringDataFrameColumn strColumn = new StringDataFrameColumn("Info", 2); 248StringDataFrameColumn stringColumn = new StringDataFrameColumn("Description", 0);
DataFrame.IO.cs (1)
297ret = new StringDataFrameColumn(columnName, 0);
DataFrameColumn.cs (2)
69return new StringDataFrameColumn(name, values); 417StringDataFrameColumn dataColumn = new StringDataFrameColumn(Name, 2);
DataFrameColumns\StringDataFrameColumn.cs (6)
290StringDataFrameColumn ret = new StringDataFrameColumn(Name, Length); 330StringDataFrameColumn ret = new StringDataFrameColumn(Name, 0); 343var ret = new StringDataFrameColumn(Name, mapIndices.Length); 365var ret = new StringDataFrameColumn(Name, mapIndices.Length); 386StringDataFrameColumn keys = new StringDataFrameColumn("Values", 0); 478var ret = new StringDataFrameColumn(Name, Length - NullCount);
IDataView.Extension.cs (1)
117dataFrameColumns.Add(new StringDataFrameColumn(dataViewColumn.Name));
Microsoft.Data.Analysis.Interactive (1)
TabularDataResourceExtensions.cs (1)
51dataFrame.Columns.Add(new StringDataFrameColumn(fieldDescriptor.Name, column.Select(Convert.ToString)));
Microsoft.Data.Analysis.Tests (24)
DataFrameGroupByTests.cs (1)
113DataFrameColumn parityColumn = new StringDataFrameColumn("Parity", Enumerable.Range(0, length).Select(x => x % 2 == 0 ? "even" : "odd"));
DataFrameTests.BinaryOperations.cs (2)
304DataFrameColumn stringColumn = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString())); 315DataFrameColumn stringColumnCopy = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString()));
DataFrameTests.cs (8)
182StringDataFrameColumn city = new StringDataFrameColumn("City", new string[] { "London", "Berlin" }); 201StringDataFrameColumn city = new StringDataFrameColumn("City", new string[] { "London", "Berlin" }); 820StringDataFrameColumn strColumn = new StringDataFrameColumn("String", 0); 1062new StringDataFrameColumn("ColumnA", new string[] { "a", "b", "c" }), 1068new StringDataFrameColumn("ColumnA", new string[] { "d", "e", "f" }), 1204StringDataFrameColumn column = new StringDataFrameColumn("Strings", Enumerable.Range(0, 11).Select(x => x.ToString())); 1365var col = new StringDataFrameColumn("col", new[] { "One", null, "Two", "Three" }); 1382var col = new StringDataFrameColumn("col", new[] { "One", null, "Three", "Four", null }); ;
DataFrameTests.Merge.cs (6)
22DataFrameColumn leftStringColumn = new StringDataFrameColumn("String", Enumerable.Range(0, leftCount).Select(x => "Left")); 26DataFrameColumn rightStringColumn = new StringDataFrameColumn("String", Enumerable.Range(0, rightCount).Select(x => "Right")); 600left.Columns.Add(new StringDataFrameColumn("G3", new[] { "A", "B", "C" })); 606right.Columns.Add(new StringDataFrameColumn("G3", new[] { "Z", "Y", "B" })); 656left.Columns.Add(new StringDataFrameColumn("G3", new[] { "A", "B", "C" })); 662right.Columns.Add(new StringDataFrameColumn("G3", new[] { "Z", "Y", "B" }));
DataFrameTests.Sort.cs (1)
38StringDataFrameColumn strColumn = new StringDataFrameColumn("String", 0);
DataFrameTests.Utils.cs (1)
129DataFrameColumn stringColumn = new StringDataFrameColumn("String", Enumerable.Range(0, length).Select(x => x.ToString()));
PrimitiveDataFrameColumnTests.cs (4)
57StringDataFrameColumn strCol = new StringDataFrameColumn("String", 0); 60StringDataFrameColumn strCol1 = new StringDataFrameColumn("String1", 5); 63StringDataFrameColumn strCol2 = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString())); 66StringDataFrameColumn strCol3 = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => (string)null));
StringDataFrameColumnTests.cs (1)
25var stringColumn = new StringDataFrameColumn("Test", new[] { "Zero", "One", "Two", null, "Four", "Five" });
Microsoft.ML.AutoML.Interactive (2)
NotebookMonitor.cs (2)
30TrialData = new DataFrame(new PrimitiveDataFrameColumn<int>("Trial"), new PrimitiveDataFrameColumn<float>("Metric"), new StringDataFrameColumn("Trainer"), new StringDataFrameColumn("Parameters"));
Microsoft.ML.Fairlearn (4)
Metrics\FairlearnMetricCatalog.cs (2)
194var columns = new StringDataFrameColumn(column.Name); 219var columns = new StringDataFrameColumn(column.Name, 0);
Reductions\UtilityParity.cs (2)
107StringDataFrameColumn posSign = new StringDataFrameColumn("sign", upperBoundDiff.Length); 120StringDataFrameColumn negSign = new StringDataFrameColumn("sign", lowerBoundDiff.Length);
Microsoft.ML.Fairlearn.Tests (2)
MetricTest.cs (1)
62StringDataFrameColumn groupId = new StringDataFrameColumn("group_id", str);
UtilityTest.cs (1)
21StringDataFrameColumn sensitiveFeature = new StringDataFrameColumn("group_id", str);
90 references to StringDataFrameColumn
Microsoft.Data.Analysis (47)
DataFrame.cs (2)
221StringDataFrameColumn strColumn = new StringDataFrameColumn("Info", 2); 248StringDataFrameColumn stringColumn = new StringDataFrameColumn("Description", 0);
DataFrameColumn.cs (6)
61/// A static factory method to create a <see cref="StringDataFrameColumn"/>. 66/// <returns>A <see cref="StringDataFrameColumn"/> populated with the provided data.</returns> 67public static StringDataFrameColumn Create(string name, IEnumerable<string> values) 413/// Returns a <see cref="StringDataFrameColumn"/> containing the DataType and Length of this column 415public virtual StringDataFrameColumn Info() 417StringDataFrameColumn dataColumn = new StringDataFrameColumn(Name, 2);
DataFrameColumnCollection.cs (4)
261/// Gets the <see cref="StringDataFrameColumn"/> with the specified <paramref name="name"/>. 264/// <returns><see cref="StringDataFrameColumn"/>.</returns> 266public StringDataFrameColumn GetStringColumn(string name) 269if (column is StringDataFrameColumn ret)
DataFrameColumns\ArrowStringDataFrameColumn.cs (3)
478return StringDataFrameColumn.ValueCountsImplementation(groupedValues); 634return StringDataFrameColumn.ElementwiseEqualsImplementation(this, column); 675return StringDataFrameColumn.ElementwiseNotEqualsImplementation(this, column);
DataFrameColumns\StringDataFrameColumn.cs (22)
88public StringDataFrameColumn Apply(Func<string, string> func, bool inPlace = false) 90var column = inPlace ? this : Clone(); 200public new StringDataFrameColumn Sort(bool ascending = true, bool putNullValuesLast = true) 202return (StringDataFrameColumn)base.Sort(ascending, putNullValuesLast); 278public new StringDataFrameColumn Clone(DataFrameColumn mapIndices, bool invertMapIndices, long numberOfNullsToAppend) 280return (StringDataFrameColumn)CloneImplementation(mapIndices, invertMapIndices, numberOfNullsToAppend); 283public new StringDataFrameColumn Clone(long numberOfNullsToAppend = 0) 285return (StringDataFrameColumn)CloneImplementation(numberOfNullsToAppend); 290StringDataFrameColumn ret = new StringDataFrameColumn(Name, Length); 302StringDataFrameColumn clone; 326private StringDataFrameColumn CloneImplementation(PrimitiveDataFrameColumn<bool> boolColumn) 330StringDataFrameColumn ret = new StringDataFrameColumn(Name, 0); 340private StringDataFrameColumn CloneImplementation(PrimitiveDataFrameColumn<int> mapIndices, bool invertMapIndices = false) 343var ret = new StringDataFrameColumn(Name, mapIndices.Length); 362private StringDataFrameColumn CloneImplementation(PrimitiveDataFrameColumn<long> mapIndices, bool invertMapIndices = false) 365var ret = new StringDataFrameColumn(Name, mapIndices.Length); 386StringDataFrameColumn keys = new StringDataFrameColumn("Values", 0); 448public StringDataFrameColumn FillNulls(string value, bool inPlace = false) 452StringDataFrameColumn column = inPlace ? this : Clone(); 471public new StringDataFrameColumn DropNulls() 473return (StringDataFrameColumn)DropNullsImplementation(); 478var ret = new StringDataFrameColumn(Name, Length - NullCount);
StringDataFrameColumn.BinaryOperations.cs (10)
22StringDataFrameColumn ret = inPlace ? this : Clone(); 30public static StringDataFrameColumn operator +(StringDataFrameColumn column, string value) 35public static StringDataFrameColumn operator +(string value, StringDataFrameColumn column) 40public static StringDataFrameColumn Add(string value, StringDataFrameColumn right) 42StringDataFrameColumn ret = right.Clone(); 55public StringDataFrameColumn Add(string value, bool inPlace = false) 57StringDataFrameColumn ret = inPlace ? this : Clone();
Microsoft.Data.Analysis.Tests (32)
DataFrame.IOTests.cs (3)
105Assert.IsType<StringDataFrameColumn>(column); 1168StringDataFrameColumn emptyColumn = (StringDataFrameColumn)df.Columns[1];
DataFrameTests.BinaryOperations.cs (5)
311newCol = (stringColumn as StringDataFrameColumn).ElementwiseEquals("5"); 320StringDataFrameColumn typedStringColumn = stringColumn as StringDataFrameColumn; 321StringDataFrameColumn typedStringColumnCopy = stringColumnCopy as StringDataFrameColumn;
DataFrameTests.cs (9)
182StringDataFrameColumn city = new StringDataFrameColumn("City", new string[] { "London", "Berlin" }); 201StringDataFrameColumn city = new StringDataFrameColumn("City", new string[] { "London", "Berlin" }); 498StringDataFrameColumn stringColumn = (StringDataFrameColumn)df.Columns["String"]; 820StringDataFrameColumn strColumn = new StringDataFrameColumn("String", 0); 1204StringDataFrameColumn column = new StringDataFrameColumn("Strings", Enumerable.Range(0, 11).Select(x => x.ToString())); 1284StringDataFrameColumn strings = dataFrame.Columns.GetStringColumn("String"); 1365var col = new StringDataFrameColumn("col", new[] { "One", null, "Two", "Three" }); 1382var col = new StringDataFrameColumn("col", new[] { "One", null, "Three", "Four", null }); ;
DataFrameTests.Sort.cs (5)
38StringDataFrameColumn strColumn = new StringDataFrameColumn("String", 0); 46StringDataFrameColumn sortedStrColumn = strColumn.Sort() as StringDataFrameColumn; 57sortedStrColumn = strColumn.Sort() as StringDataFrameColumn; 62sortedStrColumn = strColumn.Sort(false) as StringDataFrameColumn;
PrimitiveDataFrameColumnTests.cs (4)
57StringDataFrameColumn strCol = new StringDataFrameColumn("String", 0); 60StringDataFrameColumn strCol1 = new StringDataFrameColumn("String1", 5); 63StringDataFrameColumn strCol2 = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => x.ToString())); 66StringDataFrameColumn strCol3 = new StringDataFrameColumn("String", Enumerable.Range(0, 10).Select(x => (string)null));
StringDataFrameColumnTests.cs (6)
25var stringColumn = new StringDataFrameColumn("Test", new[] { "Zero", "One", "Two", null, "Four", "Five" }); 26var clonedColumn = stringColumn.Clone(); 41var stringColumn = new StringDataFrameColumn("Test", ["Zero", "One", null, "Three", "Four", "Five"]); 57var stringColumn = new StringDataFrameColumn("Test", ["Zero", "One", null, "Three", "Four", "Five"]); 73var stringColumn = new StringDataFrameColumn("Test", ["Zero", "One", null, "Three", "Four", "Five"]); 89var stringColumn = new StringDataFrameColumn("Test", ["Zero", "One", "Two", null, "Four", "Five"]);
Microsoft.ML.Fairlearn (8)
AutoML\AutoMLExperimentExtension.cs (1)
64var sensitiveFeature = DataFrameColumn.Create("group_id", trainData.GetColumn<string>(sensitiveColumnName));
Metrics\FairlearnMetricCatalog.cs (2)
194var columns = new StringDataFrameColumn(column.Name); 219var columns = new StringDataFrameColumn(column.Name, 0);
Reductions\Moment.cs (2)
44public virtual void LoadData(IDataView features, DataFrameColumn label, StringDataFrameColumn sensitiveFeature) 56var sensitiveFeature = DataFrameColumn.Create("group_id", trainData.GetColumn<string>(sensitiveColumnName));
Reductions\UtilityParity.cs (3)
67public override void LoadData(IDataView x, DataFrameColumn y, StringDataFrameColumn sensitiveFeature)//, StringDataFrameColumn events = null, StringDataFrameColumn utilities = null) 107StringDataFrameColumn posSign = new StringDataFrameColumn("sign", upperBoundDiff.Length); 120StringDataFrameColumn negSign = new StringDataFrameColumn("sign", lowerBoundDiff.Length);
Microsoft.ML.Fairlearn.Tests (3)
GridSearchTest.cs (1)
29moment.LoadData(X, X["y_true"], X["sensitiveFeature"] as StringDataFrameColumn);
MetricTest.cs (1)
62StringDataFrameColumn groupId = new StringDataFrameColumn("group_id", str);
UtilityTest.cs (1)
21StringDataFrameColumn sensitiveFeature = new StringDataFrameColumn("group_id", str);