Row ordering design choice
まだ誰も着手していません。
評価
調査の方向性
この issue ではファイル、テスト、エントリポイントが指定されていません。まず、引用されている 2020 年の dataframe 記事と既存の dataframe API 標準を確認し、その後、そこで議論されている行順序付けの選択肢を比較してください。プロジェクトで行順序付けのポリシーについて合意され、標準にそれが記録されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Why do I even think it is necessary to maintain order?
This matches the definition of dataframes from the article. If we take the approach of defining based on articles about dataframes and their algebra, then we can also look for new articles and do a more in-depth comparative analysis (since the article I cited is from 2020).
Are there any use cases where this is important?
I think it’s obvious that there are workloads for which the order of the data is important. For example, values were recorded in some area over time, without recording timestamps, to reduce the size of the dataset. Any use of operations that violate the order invalidates the trends that can be obtained from these data.
Why not come up with a new concept that has characteristics of both dataframes and relational tables?
For ease of DataFrame API adaptation, it seems that all that is needed is to more or less successfully combine current concepts that will conveniently coexist in one interface (at least for first stable release). With this approach, libraries belonging to one of these groups may need to implement the characteristics of another group. In the case of a new concept, the number of other characteristics groups may increase to two.
Solution.
Based on the fact that these two concepts have existed for a long time and have not been completely united during this time, and that at the moment there are many hybrids that implement the interface of the opposite group using their own basis of operations, I believe that the solution should not be ideal, but just quite flexible.
So let's allow the order to be preserved or not, based on the user's choices, be it additional function parameters, environment variables, or context managers.
This way there will be enough flexibility in relation to libraries that implement the relational approach (they will also be performant, since there will be no need to maintain order using an additional index column or other tricks) and at the same time, a greater number of user cases will be covered by the standard.
- 主要言語
- Python
- スター
- 106
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
data-apis/dataframe-api のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/dataframe-api#363 · コメント 1 件 · リアクション 8 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
data-apis/dataframe-api#355 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/dataframe-api#352 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/dataframe-api#351 ·
-
__parameters__ should not be a documented property of the API対応中かも @anmyachev が 925 日前に担当しました。 オープンdocumentation
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
data-apis/dataframe-api#314 · コメント 1 件 ·
data-apis/dataframe-api の issue をすべて見る
似ている issue
-
dependencies feature github_actions good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
wemake-services/wemake-django-template#3149 ·
メンテナーはふだん 1 日以内に返信
-
[request] vsg/1.1.16オープンupstream update
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
conan-io/conan-center-index#31142 ·
メンテナーはふだん 1 日以内に返信
-
area:core bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
request-theme
難易度 2/5 1時間未満 初心者へのやさしさ 70/100
LizardByte/ThemerrDB#8877 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
NousResearch/hermes-agent#135997 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信