from typing import Dict
from typing import List


def parse_tab_seperated_txt(txt_path: str) -> Dict[str, List[float]]:
    """Parses a tab seperated text file into a dictionary of lists of floats.

    Args:
        txt_path: The path to the text file.
    
    Returns:
        Dict[str, List[float]]: A dictionary of lists of floats.
    """

    rtn = {}

    with open("q4.txt") as file:
        lines = file.readlines()
        col_names = lines[0].split("\t")
        data = lines[1:]
        for col in col_names:
            col_data = [float(line.split("\t")) for line in data]  # type: ignore
            rtn[col] = col_data

    return rtn