Answers for "merging df vertically"

0

merging df vertically

'''
if df1 is
col1	col2
1		2
3		4

if df2 is
col1	col2
5		6
7		8

'''

df1.append(df2, ignore_index=True)

'''
col1	col2
1		2
3		4
5		6
7		8
'''
Posted by: Guest on September-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language