Class: Polars::Categorical

Inherits:
DataType show all
Defined in:
lib/polars/data_types.rb

Overview

A categorical encoding of a set of strings.

Instance Method Summary collapse

Constructor Details

#initialize(ordering = "physical") ⇒ Categorical

Returns a new instance of Categorical.



295
296
297
# File 'lib/polars/data_types.rb', line 295

def initialize(ordering = "physical")
  @ordering = ordering
end