Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

get_missing_summary() helper method for OpenML datasets

オープン
#1,443 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
pandas, python

調査の方向性

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 OpenMLDataset class.
  • Internally, the method would:
  1. Call .get_data()
  2. Compute missing summary using pandas (df.isna().sum())
  3. 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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openml/openml-python のほかの issue

openml/openml-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。