Jhsmit / Jhsmit/PyHDX

FutureWarning: pandas indexing

Aperta
#308 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Jupyter Notebook
Stelle
32
Fork
14
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```
FutureWarning: The behavior of `series[i:j]` with an integer-dtype index is deprecated. In a future version, this will be treated as *label-based* indexing, consistent with e.g. `series[i]` lookups. To retain the old behavior, use `series.iloc[i:j]`. To get the future behavior, use `series.loc[i:j]`.
self.Z[row][i0 : i1 + 1] = _exchanges[i0 : i1 + 1]
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start from the indexing expression shown in the warning, `self.Z[row][i0 : i1 + 1]`, and locate its containing source file. Inspect the related `_exchanges` and `self.Z` data handling, then run the relevant project tests or checks. Done means the deprecated pandas indexing warning no longer appears while the existing behavior is preserved.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.