Categories
Namespace: Polars.FSharp
Represents a Polars categorical type with optional name, namespace, and physical representation.
Properties & Indexers
| Property | Type | Description |
|---|---|---|
Hash | uint64 | - |
IsGlobal | bool | - |
Name | string | - |
NameSpace | string | - |
Physical | CategoricalPhysical | - |
Constructors & Static Methods
new
Create a new Categories with optional name, namespace, and physical type.
fsharp
new(?name: string, ?nameSpace: string, ?physical: CategoricalPhysical) : CategoriesParameters
| Name | Type | Description |
|---|---|---|
name | string (optional) | - |
nameSpace | string (optional) | - |
physical | CategoricalPhysical (optional) | - |
Global
Get a global (unnamed) Categories.
fsharp
static member Global : unit -> CategoriesRandom
Create a random Categories.
fsharp
static member Random(?nameSpace: string, ?physical: CategoricalPhysical) : CategoriesParameters
| Name | Type | Description |
|---|---|---|
nameSpace | string (optional) | - |
physical | CategoricalPhysical (optional) | - |
Operators
op_Equality
fsharp
static member op_Equality(left: Categories, right: Categories) : boolParameters
| Name | Type | Description |
|---|---|---|
left | Categories | - |
right | Categories | - |
op_Inequality
fsharp
static member op_Inequality(left: Categories, right: Categories) : boolParameters
| Name | Type | Description |
|---|---|---|
left | Categories | - |
right | Categories | - |
Instance Methods
Freeze
Freeze into a FrozenCategories.
fsharp
member Freeze : unit -> FrozenCategories