Method

class qf_lib.common.utils.miscellaneous.consecutive_duplicates.Method(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Attributes:

KEEP_FIRST

Keep the first occurrence of the value

KEEP_LAST

Keep the last occurrence of the value

KEEP_FIRST = 1

Keep the first occurrence of the value

KEEP_LAST = 2

Keep the last occurrence of the value