def aggregate_results(resDF):
    """ aggregate results from parsed values

    Params
    ------
    resDF (dict): results dictionary from parse_results function

    Returns
    -------
    aggRes (dict): dictionary of results in pandas.dataframes format
    """
    aggRes = {}
    # aggregate shacht results
    sVals = ["Ueberstauvolumen", "Durchfluss", "Einstaudauer", "Wasserstand"]
    aggRes["schacht"] = resDF["schacht"].pivot(index="Knoten", columns="sim",
                                               values=sVals)

    # aggregate haltung results
    hVals = ["Durchfluss", "Geschwindigkeit", "WasserstandOben",
             "WasserstandUnten"]
    aggRes["haltung"] = resDF["haltung"].pivot(index="Kante", columns="sim",
                                               values=hVals)

    # aggreate outlet results
    oVals = ["Durchfluss", "Wasserstand"]
    aggRes["outlet"] = resDF["outlet"].pivot(index="Name", columns="sim",
                                             values=oVals)

    return aggRes