no data limit when using to_frame

Offen
#127 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
data

Rechercherichtung

Beginne damit, die to_frame-Methode und ihre Verarbeitung von swat.options.cas.dataset.max_rows_fetched nachzuverfolgen, und vergleiche diesen Pfad anschließend mit to_csv oder einer Plotting-Methode, bei der das Limit bereits angewendet wird. Die Aufgabe ist erledigt, wenn große CAS-Tabellen beim Konvertieren in einen DataFrame das konfigurierte Zeilenlimit einhalten, ohne die gesamte Tabelle zu übertragen oder den gemeldeten Serverfehler auszulösen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
159
Forks
66
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sassoftware/python-swat

Alle Issues in sassoftware/python-swat

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.