Python Pythonでasyncioを使ってみる asyncとかawaitとか使っていい感じにやると、IOバウンドな処理は速くなる。from __future__ import annotationsimport asyncioimport pandas as pdimport psyco... 2022.02.11 Python
Python Pythonで処理時間を計測するタイマー contextlib.contextmanager を使って適当にやるfrom __future__ import annotationsfrom contextlib import contextmanagerfrom datetime ... 2022.02.11 Python