Method

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

Bases: enum.Enum

An enumeration.

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