Skip to content

DataTypeExpr.Struct (StructNameSpace) ​

Namespace: Polars.FSharp

Namespace for struct-related operations on a DataTypeExpr.

Properties & Indexers ​

PropertyTypeDescription
.[index: int64] / .[index: int] / .[name: string]DataTypeExprIndexer: 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) : DataTypeExpr

Parameters

NameTypeDescription
namestring-
indexint64-

FieldNames ​

Get the field names in a struct as a list.

fsharp
member FieldNames : unit -> Expr

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