作者RicohG8 (I G8 U)
看板Python
標題[問題] pandas轉html圖片出不來
時間Wed Jun 22 18:42:59 2022
我用網路上的範本 抓了momo資料當練習
用了網路上的語法可以成功於整個資料表顯示出圖片
https://i.imgur.com/soFVXwd.jpg
但是我抓單一商品出來時 圖片跟連結卻失效
(image 跟 link 都無法加上html語法)
https://i.imgur.com/zRr0dZ1.jpg
問題是在哪邊呢 我研究了六小時 都用不出來
https://i.imgur.com/Mu7thV2.jpg
附上我的語法
麻煩大家了 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.32.45.199 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1655894583.A.774.html
推 lycantrope: formatters是取column的index套用,無法用dict. 06/22 20:05
→ RicohG8: GG >< 06/23 12:06
推 lycantrope: 就改用dict 但用index當key啊 06/23 12:17
→ RicohG8: 解決了 3q 06/23 13:31