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

type of `Dataset.dims` will be changed

Aperta
#1,225 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

The deprecation warning points at climada.hazard.xarray around line 293, where code reads Dataset.dims as a mapping of dimension names to lengths. Change those reads to Dataset.sizes, and check that the two warnings raised during the test suite disappear. Done when the affected code uses sizes and the tests run without the FutureWarning.

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

Descrizione

warnings

FutureWarning

The return type of Dataset.dims will be changed to return a set of dimension names in future, in order to be more consistent with DataArray.dims. To access a mapping from dimension names to lengths, please use Dataset.sizes.

Occurrences

  • climada.hazard.xarray:293

(2 times during tests)

Lingua principale
Jupyter Notebook
Stelle
478
Fork
166
Merge medio
2g 31m
PR unite (30g)
4

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 CLIMADA-project/climada_python

Tutte le issue di CLIMADA-project/climada_python

Issue simili

Altre issue su Data Engineering

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.