Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
merge two columns name in one header pandas
Sylwia
Programming language:
Python
2021-07-17 21:17:46
0
Q:
merge two columns name in one header pandas
user89849
Code:
Python
2021-06-20 04:45:42
df['A'] = df[a_cols].apply(' '.join, axis=1)
1
Tags
name
columns
two
pandas
two columns
Related
pandas compare two columns
pandas merge two columns from different dataframes
how to merge two column pandas
pandas read excel with two headers
pd merge on multiple columns
merge two columns pandas
python transform two columns to a list combine
how to merge two pandas dataframes on a column
pandas create a new column based on condition of two columns
sort by two columns in pandas
pandas create new column conditional on other columns
concat 3 column in pandas
merge two dataframes based on column
assign multiple columns pandas
create dict from two columns pandas
python add multiple columns to pandas dataframe
New to Communities?
Join the community