Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Deleting a single level of a MultiIndex

Offen
#1,206 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

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

Rechercherichtung

The deprecated calls are at lines 1339, 1353, 1362, 1375 and 1376 of the climada.hazard.tc_tracks module, where a MultiIndex level is dropped without naming the id variable. Start by reading those lines and checking how the id level is used around them. Then run the integration tests that reach that code to reproduce the warning. Done means those calls drop the id variable explicitly and the DeprecationWarning no longer appears.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

warnings

DeprecationWarning

Deleting a single level of a MultiIndex is deprecated. Previously, this deleted all levels of a MultiIndex. Please also drop the following variables: {'id'} to avoid an error in the future.

Occurrences

  • climada.hazard.tc_tracks:1339
  • climada.hazard.tc_tracks:1353
  • climada.hazard.tc_tracks:1362
  • climada.hazard.tc_tracks:1375
  • climada.hazard.tc_tracks:1376

(20 times during integration tests)

Vorherrschende Sprache
Jupyter Notebook
Sterne
478
Forks
166
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
2

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

Alle Issues in CLIMADA-project/climada_python

Ähnliche Issues

Weitere Issues zu Data Engineering

Neue Issues direkt in Ihr Postfach

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