no data limit when using to_frame

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

まず to_frame メソッドを追跡し、それが swat.options.cas.dataset.max_rows_fetched をどのように読み取るかを確認します。次に、その経路を、すでに制限が適用されている to_csv または plotting メソッドと比較します。大規模な CAS テーブルを DataFrame に変換する際に、テーブル全体を転送したり報告されたサーバーエラーを発生させたりせず、設定された行数制限が守られれば完了です。

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

説明

When you use to_methods like to_csv, or any of the plotting methods on a CAS table the swat.options.cas.dataset.max_rows_fetched options limits to the default of 10,000. This makes sense to prevent you from pulling an extremely large table to the client.

However, when I use the to_frame method the option does not take effect and CAS attempts to transfer the entire CAS table to the client into a DataFrame. When the table is large it causes the following error:

SWATError: Unable to connect to any URL in the list

Which causes my CAS server to reset and removes all promoted CAS tables. Seems like the data limit should apply to the to_frame method as well.

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

環境構築

はじめの一歩

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

sassoftware/python-swat のほかの issue

sassoftware/python-swat の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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