Skip to main content

Posts

Showing posts from September, 2024

Data processing of Yagi's donations

There are several files here ( https://github.com/longmaisg/Yagi ): get_yagi_data.py: scrawl data and save to CSV after each 50 pages plot_yagi.py: process data from CSV and over-write data in plot_yagi.html plot_yagi.html: show data dynamically + search box NOTE: only some pages are scrawled and shown in the html. All prompts using ChatGPT can be found here:  https://chatgpt.com/share/66edd7db-186c-800a-868a-b3e2c4097351 For Vietnamese: Data Science + Check var Chào mọi người, Trong bài viết này mình trình bày bài tập nhỏ áp dụng Data Science trong cuộc sống một cách nhẹ nhàng. Hiện tại chủ đề về ChatGPT & prompt engineer đang hot trong cộng đồng machine learning, còn chủ đề Check var cũng đang hot. Vì vậy, mình thử kết hợp prompt engineer + check var như sau: Yêu cầu ChatGPT viết code để scrawl dữ liệu danh sách ủng hộ bão lũ (Yagi). Yêu cầu ChatGPT plot danh sách này. Phần scrawl dữ liệu khá đơn giản. Tuy nhiên phần plot danh sách khá dài dòng: Đầu tiên, mình yêu cầu plot sa...