Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data Frame map
#1
I have a data frame with a column called 'city' containing city names. I also have a dictionary where the keys are city names and values are corresponding states.
If we want to add a column in the original data frame containing the state corresponding to each city in 'city', How should I do it?
Reply


Messages In This Thread
Data Frame map - by suzeet - Jul-20-2020, 08:53 AM
RE: Data Frame map - by GOTO10 - Jul-20-2020, 04:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  regex.findall and data frame metalray 6 10,219 May-15-2018, 02:35 PM
Last Post: metalray

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020