daft.Expression.count#
- Expression.count(mode: Union[Literal['all', 'valid', 'null'], CountMode] = CountMode.Valid) Expression [source]#
Counts the number of values in the expression.
- Parameters:
mode – A string (“all”, “valid”, or “null”) that represents whether to count all values, non-null (valid) values, or null values. Defaults to “valid”.