DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas combine two data frames with same index and same columns
pd
.
merge
(
df1
,
df2
,
left_index
=
True
,
right_index
=
True
,
how
=
'outer'
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#combine
#data
#frames
#index
#columns
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit