TimeFrame.register_flag_column¶
- TimeFrame.register_flag_column(column_name, flag_system)[source]¶
Mark the specified existing column as a flag column.
This does not modify the DataFrame; it only records that
column_nameis a flag column with values handled by the flag systemflag_system.- Parameters:
column_name (
str) – A column name to mark as a flag column.flag_system (
str) – The name of the flag system.
- Return type:
None