Class: Polars::CatExpr
- Inherits:
-
Object
- Object
- Polars::CatExpr
- Defined in:
- lib/polars/cat_expr.rb
Overview
Namespace for categorical related expressions.
Instance Method Summary collapse
-
#get_categories ⇒ Expr
Get the categories stored in this data type.
-
#set_ordering(ordering) ⇒ Expr
Determine how this categorical series should be sorted.
Instance Method Details
#get_categories ⇒ Expr
Get the categories stored in this data type.
68 69 70 |
# File 'lib/polars/cat_expr.rb', line 68 def get_categories Utils.wrap_expr(_rbexpr.cat_get_categories) end |
#set_ordering(ordering) ⇒ Expr
Determine how this categorical series should be sorted.
44 45 46 |
# File 'lib/polars/cat_expr.rb', line 44 def set_ordering(ordering) Utils.wrap_expr(_rbexpr.cat_set_ordering(ordering)) end |