PyCast

S4EP10 | 【A Bite of PySkill】還在使用野雞魔法算數學嗎?試試看 itertools !


Listen Later

隔了三個月,Pyskill 又來啦!這次會為大家介紹 Python 的原生套件——itertools,一個專門處理各種與算數、排列有關的套件。
快把筆記本準備好,和我們一起詠唱新魔法吧!
( itertools 傳送門:https://docs.python.org/3/library/itertools.html

🔖 本集 Highlight

  • count - 使用 range 需要設定一個終點,但 count 對你的愛可以讓它一直為你數下去唷❤️
  • cycle - 讓你能夠不斷地重複一個序列,再也不用寫 for loop 啦!
  • accumulate - 看著購物車金額一直加上去卻不知道為什麼嗎?改用 accumulate!
  • batched - 想要把你的資料切割成方便使用的區塊嗎?使用 batched 吧!
  • compress - 一組資料中有些需要,有些不需要,該怎麼處理呢?交給 compress 來過濾你不需要的資料!


🔔 提醒: 本集節目中 Python 套件分享為技術討論,使用上仍需注意軟體來源的安全及使用上的相關著作權規範。

📂 精采回顧

  • 【A bite of PySkill】波特!這些 Python 原生套件比魔杖還好用啊!
  • https://pycast.firstory.io/episodes/clvagvr6r001801t5emob2p2u
  • 南下加難:PyCon TW 年會在大港 南遷辛酸誰人知⁉ feat. GTB, Yucheng, Ray
  • https://pycast.firstory.io/episodes/cm0l42djn004j01xm1dj127u7
  • Python Taiwan 年會搞了 13 年,到底在 『稿』什麼? feat. Andy Lee, Wei Lee, TengLin Yu
  • https://pycast.firstory.io/episodes/clz1c1b2c03m701vggil3837p


想聽什麼主題?推薦講者?業配合作?
歡迎來信🙌: [email protected]

🔗 Follow Us
歡迎按讚 👍、追蹤 👣 ,分享好內容給同伴。
Facebook: https://www.facebook.com/pycontw/
Instagram: https://www.instagram.com/pycon.tw/
X: https://twitter.com/PyConTW
Website: https://pycon.tw/

📝 留言告訴我們對於這集的想法:https://open.firstory.me/user/ckmkshy2r2s5a0823k3c1t8uz/comments
📣本節目感謝 錄播客 PT Recording 贊助 #專業錄音室



Powered by Firstory Hosting
...more
View all episodesView all episodes
Download on the App Store

PyCastBy PyCon TW

  • 5
  • 5
  • 5
  • 5
  • 5

5

1 ratings


More shows like PyCast

View all
矽谷輕鬆談 Just Kidding Tech by 柯柯與肯吉在矽谷

矽谷輕鬆談 Just Kidding Tech

164 Listeners

Gooaye 股癌 by 謝孟恭

Gooaye 股癌

763 Listeners

呱吉 by 呱吉

呱吉

310 Listeners

台灣通勤第一品牌 by 台灣通勤第一品牌

台灣通勤第一品牌

320 Listeners

數位時代 Business Next by 數位時代 Business Next

數位時代 Business Next

12 Listeners

只能喝酒的圖書館 by Otherwise Library

只能喝酒的圖書館

69 Listeners

跳脫Do式圈 by The DoDo Men - 嘟嘟人

跳脫Do式圈

368 Listeners

科技浪 Tech.wav by 哈利

科技浪 Tech.wav

84 Listeners