converting 2 columns into dictionary code example Example: df col to dict area_dict = dict(zip(lakes.area, lakes.count))