DataFrameColumn.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(String, IEnumerable<String>) |
A static factory method to create a StringDataFrameColumn. It allows you to take advantage of type inference based on the type of the values supplied. |
Create<T>(String, IEnumerable<Nullable<T>>) |
A static factory method to create a PrimitiveDataFrameColumn<T>. It allows you to take advantage of type inference based on the type of the values supplied. |
Create<T>(String, IEnumerable<T>) |
A static factory method to create a PrimitiveDataFrameColumn<T>. It allows you to take advantage of type inference based on the type of the values supplied. |
Create(String, IEnumerable<String>)
A static factory method to create a StringDataFrameColumn. It allows you to take advantage of type inference based on the type of the values supplied.
public static Microsoft.Data.Analysis.StringDataFrameColumn Create (string name, System.Collections.Generic.IEnumerable<string> values);
static member Create : string * seq<string> -> Microsoft.Data.Analysis.StringDataFrameColumn
Public Shared Function Create (name As String, values As IEnumerable(Of String)) As StringDataFrameColumn
Parameters
- name
- String
The name of the column.
- values
- IEnumerable<String>
The initial values to populate in the column.
Returns
A StringDataFrameColumn populated with the provided data.
Applies to
Create<T>(String, IEnumerable<Nullable<T>>)
A static factory method to create a PrimitiveDataFrameColumn<T>. It allows you to take advantage of type inference based on the type of the values supplied.
public static Microsoft.Data.Analysis.PrimitiveDataFrameColumn<T> Create<T> (string name, System.Collections.Generic.IEnumerable<T?> values) where T : struct;
static member Create : string * seq<Nullable<'T>> -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'T (requires 'T : struct)> (requires 'T : struct)
Public Shared Function Create(Of T As Structure) (name As String, values As IEnumerable(Of Nullable(Of T))) As PrimitiveDataFrameColumn(Of T)
Type Parameters
- T
The type of the column to create.
Parameters
- name
- String
The name of the column.
- values
- IEnumerable<Nullable<T>>
The initial values to populate in the column.
Returns
A PrimitiveDataFrameColumn<T> populated with the provided data.
Applies to
Create<T>(String, IEnumerable<T>)
A static factory method to create a PrimitiveDataFrameColumn<T>. It allows you to take advantage of type inference based on the type of the values supplied.
public static Microsoft.Data.Analysis.PrimitiveDataFrameColumn<T> Create<T> (string name, System.Collections.Generic.IEnumerable<T> values) where T : struct;
static member Create : string * seq<'T (requires 'T : struct)> -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'T (requires 'T : struct)> (requires 'T : struct)
Public Shared Function Create(Of T As Structure) (name As String, values As IEnumerable(Of T)) As PrimitiveDataFrameColumn(Of T)
Type Parameters
- T
The type of the column to create.
Parameters
- name
- String
The name of the column.
- values
- IEnumerable<T>
The initial values to populate in the column.
Returns
A PrimitiveDataFrameColumn<T> populated with the provided data.