data_dict_apply function

Apply a data dictionary to a dataset