Skip to content

Field ​

Namespace: Polars.CSharp

Definition of a single field within a Struct DataType.

Properties & Indexers ​

PropertyTypeDescription
DataTypeDataType-
Namestring-

Constructors & Static Methods ​

Field ​

Definition of a single field within a Struct DataType.

csharp
public Field(string name, DataType dataType)

Parameters

NameTypeDescription
namestringThe name of the field within its parent Struct.
dataTypeDataTypeThe DataType of the field’s values.

Operators ​

operator == (Equality) ​

csharp
public static bool operator ==(Field left, Field right)

Parameters

NameTypeDescription
leftField-
rightField-

implicit operator ​

csharp
public static implicit operator Field((string, DataType) tuple)
public static implicit operator Field(KeyValuePair<string, DataType> kvp)

Parameters

NameTypeDescription
tuple(string, DataType)-
kvpKeyValuePair<string, DataType>-

operator != (Inequality) ​

csharp
public static bool operator !=(Field left, Field right)

Parameters

NameTypeDescription
leftField-
rightField-

Released under the MIT License. Powered by the Polars Rust core & Apache Arrow.