get_missing_summary() helper method for OpenML datasets
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- pandas, python
- Lĩnh vực
- data, machine-learning
Hướng nghiên cứu
Start at the OpenMLDataset class and inspect its existing get_data() entry point. Implement the requested missing-value summary using the dataset's returned dataframe, including total and per-column counts, then verify that the result matches the example structure and values for a dataset with missing data.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi OpenML team,
I’d like to propose a small usability enhancement to improve the dataset exploration workflow in openml-python.
Feature Request
helper method:
dataset.get_missing_summary()
- that returns a simple summary of missing values for the dataset.
Motivation
Many users load a dataset and immediately need to check:
- how many missing values exist in total
- which columns contain missing values
- basic column-level counts
Currently, users must manually compute this after calling dataset.get_data().
A built-in helper would reduce repetitive code and improve the dataset exploration experience, especially for new users.
Proposed Behavior
dataset = openml.datasets.get_dataset(dataset_id)
df, *_ = dataset.get_data()
dataset.get_missing_summary()
Example output:
{
"n_missing_total": 235,
"missing_per_column": {
"age": 10,
"income": 20,
"zipcode": 205
}
}
Implementation Idea
- Implement this as a method inside the
OpenMLDatasetclass. - Internally, the method would:
- Call
.get_data() - Compute missing summary using pandas (
df.isna().sum()) - Return a dictionary with overall and per-column counts
No changes needed to the core API; this is an isolated helper.
Benefits
Improves ease of use
- No backward compatibility impact
- Lightweight feature (easy to maintain)
- Helps users performing initial dataset checks
Happy to open a PR implementing this.
- Ngôn ngữ chính
- Python
- Star
- 361
- Fork
- 296
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openml/openml-python
-
Documentation Good First Issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
openml/openml-python#1708 · 6 bình luận ·
-
Good First Issue module:Run testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openml/openml-python#1646 · 7 bình luận · 2 reaction ·
-
Good First Issue module:Data testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openml/openml-python#1644 · 4 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
openml/openml-python#1714 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
openml/openml-python#1711 · 1 bình luận ·
Tất cả issue của openml/openml-python
Issue tương tự
-
triage/confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
apache/cloudstack#14222 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100