Deleting a single level of a MultiIndex
還沒有人認領這個 Issue。
評估
研究方向
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 內容生成。
描述
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
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CLIMADA-project/climada_python 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
CLIMADA-project/climada_python#1337 ·
-
bug
難度 2/5 1-3 小時 新手友好度 85/100
CLIMADA-project/climada_python#1336 ·
-
CartoDB basemaps now need an API key (somewhat urgent)可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug
難度 2/5 1-3 小時 新手友好度 72/100
CLIMADA-project/climada_python#1332 · 4 則留言 · 1 個 reaction ·
-
warnings
難度 2/5 1-3 小時 新手友好度 65/100
CLIMADA-project/climada_python#1241 ·
-
ResourceWarning未關閉warnings
難度 2/5 1-3 小時 新手友好度 62/100
CLIMADA-project/climada_python#1239 ·
查看 CLIMADA-project/climada_python 的全部 Issue
相似的 Issue
-
correction metadata
難度 2/5 1-3 小時 新手友好度 76/100
acl-org/acl-anthology#10558 ·
維護者通常 1 天內回覆
-
Type: ☹︎ Bug
難度 2/5 1-3 小時 新手友好度 78/100
posit-dev/great-tables#1028 ·
維護者通常 1 天內回覆
-
content good first issue
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 81/100
anthropics/claude-cookbooks#936 ·
維護者通常 1 天內回覆