Method#

class qf_lib.common.utils.miscellaneous.consecutive_duplicates.Method(value)[source]#

Bases: Enum

KEEP_FIRST = 1#

Keep the first occurrence of the value

KEEP_LAST = 2#

Keep the last occurrence of the value