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

Nullability Sentinel Very Hard to Use

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api, data

調査の方向性

まず DataFrame Interchange API の仕様と describe_null() のコントラクトを確認し、次に、コンシューマーが複数語型の sentinel と CPython API 経由の sentinel をどのように扱っているかを調査します。sentinel の要件またはそのガイダンスを変更すべきかについて具体的な判断に至り、影響を受ける仕様のテキストを特定できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

This is arguably more feedback than an issue / question, but while I was trying to use the DataFrame Interchange API I found the requirement of supporting custom sentinels as a consumer rather burdensome. As far as I understand, if the array describes itself as using a sentinel, then it is up the consumer to query describe_null() and convert that PyObject to whatever type works with the buffer.

For types that span multiple words (ex: 256 bit decimal), such a sentinel seems really hard if not impossible to support. Even for more primitive types, you have to jump through some hoops with the CPython API to do that translation.

Trying to support all of those cases in a lower level extension makes it a ton of effort to fully adhere to this specification

主要言語
Python
スター
106
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

data-apis/dataframe-api のほかの issue

data-apis/dataframe-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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