Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

XArray accessor

Aperta
#183 2 commenti 3 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #211 di @JHON12091986 — chiusa senza merge

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Read the xarray accessor examples linked in the issue and inspect how xarray-sql currently exposes its API. Compare the proposed to_xql and ds.xql.execute usage, then identify the intended interface before estimating implementation scope. Done means an accessor can be used with the demonstrated dataset workflow; no target files or tests are named in the issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Would be nice to monkeypatch / have an xarray accessor on import:

  1. to_xql
import xarray as xr
import xarray_sql as xql

ds = xr.tutorial.open_dataset("air_temperature")
ds["air_x2"] = ds["air"] * 2
ds.to_xql("era5")
# create table air and air_x2
  1. or directly call xql with accessor https://tutorial.xarray.dev/advanced/accessors/01_accessor_examples.html?
import xarray as xr
import xarray_sql as xql

ds = xr.tutorial.open_dataset("air_temperature")
ds.xql.execute("SELECT * FROM air")
Lingua principale
Python
Stelle
142
Fork
19
Merge medio
1g 9h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di xqlsystems/xarray-sql

Tutte le issue di xqlsystems/xarray-sql

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.