def latex_header(content, num_chunks, separate=1, offset=0):
    """return the header of a given column.
    
    Parameters
    ----------
    content : list of str
        Table Header between toprule and cmidrule.
    num_chunks : list of int
        Number of cmidrule sub-header
    separate : int, optional
        separate the latex for better visualization and layout, by default 1
    offset : int, optional
        offset to enable left column, by default 0

    Returns
    -------
    content_header, tabular_header
    """
    
    tabular_header = 'l' * (separate + offset)
    content_header = '&' * offset 
    assert len(content) == len(num_chunks)
    for c, n in zip(content, num_chunks):
        content_header += '&' * separate +'\multicolumn{' + str(n) + '}{c}{' + c + "}&"
        tabular_header += "c"* n + " l " * separate
    return content_header + '\\\\', tabular_header