My Tech Life

Memo by a Japanese Software Developer in his late 50s.

Entries from 2024-03-31 to 1 day

How to group emails by week into arrays in Python

When conducting data analysis, deciding on the unit for aggregating data is crucial. Currently, in the midst of analyzing data obtained from bulk email collection, it seems beneficial to aggregate the data on a weekly basis. Here's a sampl…

Pythonでメールを週ごとに配列にまとめる

データ分析する時に、 どの単位でデータをまとめるか。 メールの一括収集でできるデータ分析を している最中ですが、 週ごとにメールをまとめるのが よさそうでした。 これはサンプル。 dataは2次元配列として準備、 1要素目が日付、 2要素目が本文のサンプ…