예제 #1
0
def __2(_item: CategoryStyled, _phenogroups_comparison: DataFrame) -> str:
    return f'<td style="{format_style(_item.style)}" colspan="{len(_phenogroups_comparison.columns) + 1}">' + format_item_label(
        _item) + '</td>'
예제 #2
0
def __3(_item: Attribute, _phenogroups_comparison: DataFrame) -> str:
    _html = f'<td class="item">' + format_item_label(_item) + '</td>'
    phenogroups_comparison_row = _phenogroups_comparison.loc[_item.key]
    for value in phenogroups_comparison_row:
        _html += f'<td>{value}</td>'
    return _html
예제 #3
0
def __1(_item: Category, _phenogroups_comparison: DataFrame) -> str:
    return f'<td class="category" colspan="{len(_phenogroups_comparison.columns) + 1}">' + format_item_label(
        _item) + '</td>'