CustomOperation#
- class mobgap.utils.df_operations.CustomOperation(
- identifier: Hashable | Sequence | str,
- function: Callable | list[Callable],
- column_name: str | tuple[str, ...],
Metadata for custom aggregations and transformations.
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
- __init__(*args, **kwargs)#
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=sys.maxsize, /)#
Return first index of value.
Raises ValueError if the value is not present.