Skip to content

AsOrdered

Base classes

Name Children Inherits
_CategoryOp
datacook.engine.ops.categorical

⋔ Inheritance diagram

graph TD
  1221252507["categorical.AsOrdered"]
  2967574147["categorical._CategoryOp"]
  2451904138["series.SeriesOp"]
  124287307["series.ColumnOp"]
  1539482213["base.Op"]
  2751680898["builtins.object"]
  2967574147 --> 1221252507
  2451904138 --> 2967574147
  124287307 --> 2451904138
  1539482213 --> 124287307
  2751680898 --> 1539482213

🛈 DocStrings

Bases: _CategoryOp

Source code in src/datacook/engine/ops/categorical.py
class AsOrdered(_CategoryOp):
    id = "cat_as_ordered"
    title = _("Set categories as ordered")
    description = _("Mark the categories as ordered (enables min / max and comparisons).")
    icon = "mdi.order-numeric-ascending"
    method = "as_ordered"

:fa-brands-github: Show source on GitHub