Skip to content

flowmachine.core.statistic_types

Enum Statistic

Statistic
Source: flowmachine/core/statistic_types.py

Valid statistics for use with postgres. Convert a column name to a stat by doing f"{statistic:column_name}". For columns defined as a variable, do f"{statistic:'{column_name_variable}'}"

Members

  • count: count

  • sum: sum

  • avg: avg

  • max: max

  • min: min

  • median: median

  • stddev: stddev

  • variance: variance

  • mode: mode

Enum StringAggregate

StringAggregate
Source: flowmachine/core/statistic_types.py

Enum where members are also (and must be) strings

Members

  • count: count

  • mode: mode

  • array: array

  • array desc: array desc