作者查詢 / lycantrope

總覽項目: 發文 | 留言 | 暱稱
作者 lycantrope 在 PTT [ Python ] 看板的留言(推文), 共826則
限定看板:Python
[問題] pyautogui編譯成exe圖片無法定位
[ Python ]13 留言, 推噓總分: +2
作者: LaughPoint - 發表於 2022/07/18 17:28(3年前)
1Flycantrope: 通靈07/18 22:36
[問題] list裡的字串可以改成變數嗎
[ Python ]14 留言, 推噓總分: +6
作者: yy2218 - 發表於 2022/07/13 21:35(3年前)
2Flycantrope: eval但直接寫成c=[a,b]不就好了.07/13 21:47
9Flycantrope: a,b最終都要到c 產生當下就可以c.append(a)啊07/14 08:53
[問題] Jupiter的輸出可否刷新
[ Python ]3 留言, 推噓總分: +2
作者: strekm - 發表於 2022/07/10 13:24(3年前)
1Flycantrope: from IPython.display import clear_output07/10 14:18
[問題] 請教Beautifulsoup擷取文字的問題
[ Python ]7 留言, 推噓總分: +4
作者: onlyAPU - 發表於 2022/07/01 17:03(3年前)
3Flycantrope: link.get("href", "err:no_href")07/01 18:25
4Flycantrope: rent.find傳回None就會Error07/02 11:20
5Flycantrope: 比較好的方式是用if處理; link_tag =rent.find("a")07/02 13:23
6Flycantrope: link= "" if link_tag is None else link_tag["href"]07/02 13:24
[問題] 偵測訊息問題
[ Python ]1 留言, 推噓總分: 0
作者: LaughPoint - 發表於 2022/06/30 13:26(3年前)
1Flycantrope: tk.StringVar紀錄顏色,callback更新bg06/30 15:00
[問題] 從colab繪製並下載特殊library之圖片
[ Python ]3 留言, 推噓總分: +2
作者: boggy - 發表於 2022/06/24 22:56(3年前)
2Flycantrope: pdp_plot或是ale_plot應該都會return Figure或Axes06/25 14:05
3Flycantrope: 通常都可以直接fig.savefig06/25 14:05
[問題] pandas轉html圖片出不來
[ Python ]4 留言, 推噓總分: +2
作者: RicohG8 - 發表於 2022/06/22 18:43(3年前)
1Flycantrope: formatters是取column的index套用,無法用dict.06/22 20:05
3Flycantrope: 就改用dict 但用index當key啊06/23 12:17
[問題] flask vs streamlit
[ Python ]18 留言, 推噓總分: +8
作者: ctr1 - 發表於 2022/06/20 19:27(3年前)
7Flycantrope: streamlit適合用來敷衍w,到頭還是要砍掉重練06/21 10:35
[問題] 請問df新增一個特殊欄位
[ Python ]3 留言, 推噓總分: +3
作者: strekm - 發表於 2022/06/19 23:50(3年前)
1Flycantrope: import numpy as np; df["C"]= np.sign(df.A-df.B)06/20 01:12
[問題] 在不同csv檔管理重複資料的方法
[ Python ]14 留言, 推噓總分: +6
作者: leog123456 - 發表於 2022/06/18 08:31(3年前)
3Flycantrope: df.groupby("人名").sort_values(by="時間").last(1)06/18 09:33
4Flycantrope: 記錯groupby沒有sort_values06/18 09:38
5Flycantrope: sort跟groupby對調就可以了06/18 09:40
6Flycantrope: 是不同csv file整理一起同步更新嗎?06/18 11:16
7Flycantrope: concat前把個別df加上filename,concat處理後,可以06/18 11:18
8Flycantrope: 再個別輸出csv也是一種方法06/18 11:19