The line is just
df3 = df1.append(df2)
The df1 and df2 has same length, the output df3 length got doubled s
df1
df2
df3