Class: Polars::Categorical
- Defined in:
- lib/polars/data_types.rb
Overview
A categorical encoding of a set of strings.
Instance Method Summary collapse
-
#initialize(ordering = "physical") ⇒ Categorical
constructor
A new instance of Categorical.
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 |