SyntaxFix
Write A Post
Hire A Developer
Questions
If lakes is your DataFrame, you can do something like
lakes
DataFrame
area_dict = dict(zip(lakes.area, lakes.count))