def get_freq(series):
    """ Return frequency of values in series
    Args:
        series (pd.Series)
    Returns:
        d (dict). d[value] = count
    """
    return series.value_counts().to_dict()