Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Geo dataset help
#1
Hi guys am new to Machine Learning and i found a dataset that i wanted to try my skills on. Its a dataset that has geo coordinates and i have to plot a map. First i have to prep the data by transforming it from wide to long data. I am stuck at this point. I am using Jupyter notebooks. I have attached the dataset and
.xlsx   InterviewChallenge.xlsx (Size: 8.89 KB / Downloads: 2) would appreciate help on how to deal with this dataset.

Thanks
Reply
#2
Show what have you tried and what expected output/outcome is.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
I have tried the melt function (df_lat = df.melt(id_vars=["id"], var_name="lat/lng", value_name="cord")) but don't get the result am looking for. I would like to have 3 columns; id, lat, lng.
Reply


Forum Jump:

User Panel Messages

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