def color_cell_latex(val):
    """
    This function is aimed at coloring cells inside a latex table.
    A given content of a cell is extended by the latex command to color a cell in yellow.

    :param val: string or float
        Content of the latex table cell.
    :return: string
        Assemblage of the latex command to color a cell in yellow and the cell content.
    """
    return "\cellcolor{yellow!50} " + str(val)