how to replace data in one column with another in pandas code example Example: replace 3 column with another column pandas df['B'] = df1['E']