def make_dtypes_dict(df):
    """
    Given a Pandas DataFrame, create a dict of columns: dtypes.
    :param df:
    :return:
    """
    res = df.dtypes.to_frame('dtypes').reset_index()  # create a DF of dtypes
    return res.set_index('index')['dtypes'].astype(str).to_dict()