def multiindex_dataframe_from_tuple_map(x, labels):
    """ Create pandas.DataFrame from map of param-tuple -> value

    :param x: map of parameter-tuple -> value pairs
    :type x: dict
    :param labels: list of item labels
    :type labels: list
    :returns: DataFrame object
    :rtype: pandas.DataFrame

    """
    import pandas as pd
    k, v = zip(*[(k, v) for k, v in x.iteritems()])
    i = pd.MultiIndex.from_tuples(k, names=labels)
    return pd.DataFrame(list(v), index=i)
