daft.Expression.list.count#
- Expression.list.count(mode: Union[Literal['all', 'valid', 'null'], CountMode] = CountMode.Valid) Expression [source]#
Counts the number of elements in each list.
- 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”.
- Returns:
a UInt64 expression which is the length of each list
- Return type:
Expression