I have two two datasets:
df1:
Name Answers Questions People-reached Reputation
Alex Gaynor 154 44 ~1.4m 8,871
df2:
Project Total-score Post
python 337 93
django-templates 22 4
slug 12 1
google-app-engine 8 1
django 235 57
clang 22 2
Is there any way in Python (pandas or other library) I merge the two dataframe in a way so that df2 becomes new column in df1?
Desired output would be:
Name Answers Questions People-reached Reputation Project-details
Alex Gaynor 154 44 ~1.4m 8,871 python 337 93
django-templates 22 4
slug 12 1
google-app-engine 8 1
df1?pd.concat([df1, df2], 1)