I have two dataframes. First one is like a parent df with many other features and second df contains only the unique values of df['Col1']
. Please see below:
df1
Col1
----
C1
C1
C1
C2
C2
C2
df2
Col1 Col2
---- ----
C1 S1
C2 S2
What would be a clean way to combine df2 to df1 as below ? df1
Col1 Col2
---- ----
C1 S1
C1 S1
C1 S1
C2 S2
C2 S2
C2 S2