DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
create a separate dataframe with the columns
data = [df1["A"], df2["A"]] headers = ["df1", "df2"] df3 = pd.concat(data, axis=1, keys=headers)
PREVIOUS
NEXT
Tagged:
#create
#separate
#dataframe
#columns
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit