TimeFrame.register_flag_column

TimeFrame.register_flag_column(column_name, base, flag_system)[source]

Mark the specified existing column as a flag column.

This does not modify the DataFrame; it only records that name is a flag column associated with the value column base, with values handled by the flag system flag_system.

Parameters:
  • column_name (str) – A column name to mark as a flag column.

  • base (str) – Name of the value/data column this flag column refers to.

  • flag_system (str) – The name of the flag system.

Return type:

None