vietnam-lottery-xsmb-analysis icon indicating copy to clipboard operation
vietnam-lottery-xsmb-analysis copied to clipboard

Using GitHub Action to automatically fetch and analyze results of the Vietnam lottery daily.

Vietnam Lottery (XSMB) Analysis

Using GitHub Action to automatically fetch and analyze results of the Vietnam lottery daily.

This project is created by Khiem Doan. I create this project for education purpose only. You can use any resource in this repository for free without any permission.

Sử dụng GitHub Action để tự động hoá thu thập và phân tích kết quả xổ số hàng ngày của Việt Nam.

Dự án này được tạo bởi Khiêm Đoàn. Tôi tạo dự án này chỉ nhằm mục đích học tập. Bạn có thể sử dụng bất kỳ tài nguyên nào trong kho lưu trữ này một cách miễn phí mà không cần bất kỳ sự cho phép nào.

Lottery (Xổ số) Loto (Lô tô)
Date (Ngày)27-01-2025
Special (Giải đặc biệt)31409
First (Giải nhất)11776
Second (Giải nhì)49551, 71865
Third (Giải ba)10761, 51341, 21302
67817, 98261, 42768
Fourth (Giải tư)1673, 1530, 6219, 8779
Fifth (Giải năm)1978, 5559, 0591
2905, 2248, 1336
Sixth (Giải sáu)437, 035, 810
Seventh (Giải bảy)07, 03, 75, 67
First (Đầu)Last (Đuôi)
02, 3, 5, 7, 9
10, 7, 9
2-
30, 5, 6, 7
41, 8
51, 9
61, 1, 5, 7, 8
73, 5, 6, 8, 9
8-
91

Data (Dữ liệu)

Using

You can use curl or wget to download data files. Or you can load them directly into DataFrame:

Bạn có thể sử dụng curl hoặc wget để tải các tệp dữ liệu. Hoặc bạn có thể tải chúng trực tiếp vào DataFrame:

wget https://raw.githubusercontent.com/khiemdoan/vietnam-lottery-xsmb-analysis/refs/heads/main/data/xsmb.csv
curl -O https://raw.githubusercontent.com/khiemdoan/vietnam-lottery-xsmb-analysis/refs/heads/main/data/xsmb-2-digits.csv
import pandas as pd

df = pd.read_csv('https://raw.githubusercontent.com/khiemdoan/vietnam-lottery-xsmb-analysis/refs/heads/main/data/xsmb-sparse.csv')
df.info()

Analysis of special prices (Phân tích kết quả xổ số)

Amount of day from last appearing (Số ngày từ lần xuất hiện cuối cùng)

Delta

Top 10 amount of day from last appearing (Top 10 số lâu chưa xuất hiện)

Delta top 10

Analysis of one-year Loto results (Phân tích kết quả lô tô trong 1 năm)

Max: 129. Min: 65.

Mean: 97.74. Standard deviation: 11.15.

Detail (Chi tiết)

Detail

Top 10

Top 10

Distribution (Phân bổ)

Distribution

Amount of day from last appearing (Số ngày từ lần xuất hiện cuối cùng)

Delta

Top 10 amount of day from last appearing (Top 10 số lâu chưa xuất hiện)

Delta top 10