SyntaxFix
Write A Post
Hire A Developer
Questions
If the indices match then:
df['B'] = df1['E']
should work otherwise:
df['B'] = df1['E'].values
will work so long as the length of the elements matches