Python 分批處理 list:itertools.batched 與四種常見寫法
Python

Python 分批處理 list:itertools.batched 與四種常見寫法

Python 3.12 起,itertools.batched 是把資料切成固定大小批次的標準做法:每批回傳 tuple,最後一批可能較短,3.13 再加上 strict。另外整理 yield、列表推導式、islice、numpy.array_split 各自吃什麼輸入。

2021-11-26 · 5 min read · 2238 words · KbWen · ZH
Before Data processing: ELT
Python

Before Data processing: ELT

ETL vs ELT: what each of the three steps does, why modern warehouses push the transform step to the target for performance, and where PAAS/SAAS fits in.

2020-09-02 · 2 min read · 253 words · KbWen · EN