I have a pandas data frame with multiple columns and I would like to construct a dict from two columns: one as the dict\'s keys and the other as the dict\'s values. How can
With pandas it can be done as:
If lakes is your DataFrame:
area_dict = lakes.to_dict('records')