get_missing_summary() helper method for OpenML datasets
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- pandas, python
- 領域
- data, machine-learning
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 361
- フォーク
- 296
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openml/openml-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
openml/openml-python#1750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openml/openml-python#1749 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
openml/openml-python#1746 ·
-
Documentation Good First Issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
openml/openml-python#1708 · コメント 7 件 ·
-
Good First Issue module:Run testing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openml/openml-python#1646 · コメント 7 件 · リアクション 2 件 ·
openml/openml-python の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·