designelixir / Chloe-Megan-Study-Glaciers

Data Science Team project studying glaciers
0 stars 0 forks source link

Find Matching IDs in GLIMS & WGI datasets #3

Closed designelixir closed 5 years ago

designelixir commented 5 years ago

in order to use both data sets, we need to determine if they have matching glacier ids.

designelixir commented 5 years ago
//create sets of unique values for each dataset's ID style
glims_ids = list(set(df["WGMS_ID"]))
wgi_ids = list(set(df2["ID"]))

//find matches using bool
match2 =(set(glims_ids) & set(wgi_ids))

//2,117 matches