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
More Related Contents:
- converting a text file to csv file with out index
- Error: pandas hashtable keyerror
- Writing a pandas DataFrame to CSV file
- pandas: How do I split text in a column into multiple rows?
- Find row where values for column is maximal in a pandas DataFrame
- Fast Haversine Approximation (Python/Pandas)
- How to filter rows containing a string pattern from a Pandas dataframe [duplicate]
- Pandas Groupby Range of Values
- Drop rows containing empty cells from a pandas DataFrame
- How to form tuple column from two columns in Pandas
- Convert pandas Series to DataFrame
- How to keep leading zeros in a column when reading CSV with Pandas?
- Comparing two pandas dataframes for differences
- Read XLSB File in Pandas Python
- Remove name, dtype from pandas output of dataframe or series
- Export pandas Styled table to image file
- How to swap two DataFrame columns?
- Convert a column of datetimes to epoch in Python
- changing all dates to standard date time in dataframe
- Showing all index values when using multiIndexing in Pandas
- Python: Pandas Dataframe how to multiply entire column with a scalar
- How can I remove extra whitespace from strings when parsing a csv file in Pandas?
- convert entire pandas dataframe to integers in pandas (0.17.0)
- Pandas Correlation Groupby
- pandas, melt, unmelt preserve index
- Conditional row read of csv in pandas
- Remove NaN values from pandas dataframe and reshape table [duplicate]
- how to specify the datetime format in read_csv
- Drop row in pandas dataframe if any value in the row equals zero
- Get total values_count from a dataframe with Python Pandas