“pandas와 matplotlib를 install한 다음 이 200MB CSV의 trends를 plot해 줘.”
MoClaw가 하는 일
- 1 CSV를 cloud computer의 ~/data/q4-orders.csv로 upload합니다.
- 2 persistent venv에서 pip install pandas matplotlib를 실행합니다. 지난번에 이미 install되어 있어 cache를 사용하고 2초가 걸립니다.
- 3 pandas read와 region별 orders의 matplotlib bar chart가 들어간 plot.py를 작성합니다.
- 4 plot.png를 1200×800으로 render하고 chat에 inline으로 표시합니다.
thread에 chart가 표시되고 ~/data/plot.png link가 제공됩니다. CSV는 cloud computer에 남아 있습니다. 3주 뒤 '새 file로 같은 chart를 다시 실행해 줘'라고 요청하면 이전 상태에서 이어서 작업합니다.