Nullability Sentinel Very Hard to Use
まだ誰も着手していません。
評価
調査の方向性
まず 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 はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
data-apis/dataframe-api のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/dataframe-api#363 · コメント 1 件 · リアクション 8 件 ·
-
API design
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/dataframe-api#356 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
data-apis/dataframe-api#355 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/dataframe-api#351 ·
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
data-apis/dataframe-api#314 · コメント 1 件 ·
data-apis/dataframe-api の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100