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
nameis a flag column associated with the value columnbase, with values handled by the flag systemflag_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