Visualization
visualize_columns
Get the columns string representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
columns |
List[str]
|
Columns for keyless reading. |
required |
delimiter |
str
|
Delimiter for columns visualization. |
''
|
as_rows |
bool
|
Return visualization as a list of strings. |
False
|
Returns:
Type | Description |
---|---|
Union[str, List[str]]
|
Visualization as a string or list of strings. |
Source code in src/trecover/utils/visualization.py
visualize_target
Get the target string representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
target |
List[str]
|
List of correct symbols for each column. |
required |
delimiter |
str
|
Delimiter for target visualization. |
''
|
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
Visualization as a string. |