Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Deleting a single level of a MultiIndex

未關閉
#1,206 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
58/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
pandas, python
領域
data

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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)

主要語言
Jupyter Notebook
星號
478
分支
166
平均合併
1 天 20 小時
30 天內合併 PR
2

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CLIMADA-project/climada_python 的其他 Issue

查看 CLIMADA-project/climada_python 的全部 Issue

相似的 Issue

更多 Data Engineering Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。