[問題] 多表格同時上下顯示

看板Python作者 (BalalalaBa)時間4年前 (2020/10/20 23:38), 4年前編輯推噓3(301)
留言4則, 4人參與, 4年前最新討論串1/1
請問如果我有兩個不同表格,如下: df1 a. b. 0. 1. 2. 1. 3. 4. df2 c. d. 0. 5. 6. 1. 7. 8. 如果想要合併顯示為上下呈現,如下: a. b. <-columns 0. 1. 2. 1. 3. 4. c. d. <-columns 0. 5. 6. 1. 7. 8. 請問該怎麼合併,謝謝各位大大 ----- Sent from JPTT on my iPhone -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.225.203.170 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1603208287.A.93F.html ※ 編輯: BalalalaBa (36.225.203.170 臺灣), 10/20/2020 23:43:52

10/21 08:02, 4年前 , 1F
print(df1,df2)
10/21 08:02, 1F

10/21 11:26, 4年前 , 2F
餵狗”pandas show two dataframes”
10/21 11:26, 2F

10/21 11:42, 4年前 , 3F
已解決,謝謝樓上大大
10/21 11:42, 3F

10/21 22:51, 4年前 , 4F
一樓wwwww
10/21 22:51, 4F
文章代碼(AID): #1VZmHVa_ (Python)
文章代碼(AID): #1VZmHVa_ (Python)