How do I merge(?) two different dataframe but by rows that they share in common? [duplicate]

This is what I wanted to do

so I am trying to merge these dataframe, therefore as a table with name / proportion / degree_length

but the condition is that I will only use the rows which they share same name.

How should I code this? Thank you

Read more here:

Content Attribution

This content was originally published by Young Jun Jeong at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: