DataTypeExpr.Struct (StructNameSpace)
Namespace: Polars.FSharp
Namespace for struct-related operations on a DataTypeExpr.
Properties & Indexers
| Property | Type | Description |
|---|---|---|
.[index: int64] / .[index: int] / .[name: string] | DataTypeExpr | Indexer: get DataType by int64 index. Indexer: get DataType by int index. Indexer: get DataType by field name. |
Instance Methods
FieldDataType
Get the DataType of a field by name.
Get the DataType of a field by index (int64).
fsharp
member FieldDataType(name: string) : DataTypeExpr
member FieldDataType(index: int64) : DataTypeExprParameters
| Name | Type | Description |
|---|---|---|
name | string | - |
index | int64 | - |
FieldNames
Get the field names in a struct as a list.
fsharp
member FieldNames : unit -> Expr