Plotly Express cannot process wide-form data with columns of different type
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Hi there! I’ve been trying to use px.scatter with a wide-format dataframe but, as “expected”, when i include columns in the dataframe that are not numeric i get the ValueError: Plotly Express cannot process wide-form data with columns of different type.
I can see the reason for this behavior when using something like a box plot. But i don’t get why this could be a problem for something like px.scatter when using something like x=df.columns, y=df.index, facet_col=‘variable’ where EACH wide dataframe column would be independent making its dtype irrelevant in comparison with the other columns. Could this condition be “skipped” in future versions when using a px.scatter like this?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では px.scatter と wide-form dataframe が挙げられていますが、ファイルやテストは示されていません。まず、型が混在する列で ValueError を再現し、wide-form の検証を追跡してください。完了条件は、scatter が列ごとに独立した型を受け入れられるかを判断しつつ、他のグラフ種別に対する適切な検証を維持し、要求されたケースの回帰テストを追加することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- plotly, python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100