Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data1 = { "age": [16, 14, 10], "qualified": [True, True, True] } df1 = pd.DataFrame(data1) data2 = { "age": [55, 40], "qualified": [True, False] } df2 = pd.DataFrame(data2) newdf = df1.append(df2) print(newdf)
age qualified 0 16 True 1 14 True 2 10 True 0 55 True 1 40 False