docs/examples.md still says MicroDataFrame.cov() and .corr() are unweighted
维护者通常 1 天内回复
@juaristi22 已经在做这个了。
开始于 2026年9月22日。
评估
这个 Issue 还没有评估数据。
描述
docs/examples.md line 44 says:
MicroDataFrame.cov()and.corr()retain pandas' unweighted calculations and return plain pandasDataFramematrices.
The first clause has been false since #330 merged (2026-09-18): both are frequency-weighted, and each cell of the matrix is the estimator applied to that pair of columns. docs/api.md already says so. A reader who checks the docs against the code finds a direct contradiction.
Fix: rewrite the paragraph to describe the weighted behaviour, keep the accurate note that the return type is a plain DataFrame, and add a two-line example whose numbers match numpy.cov(fweights=...) on the replicated sample.
- 主要语言
- Python
- 星标
- 16
- 派生
- 10
- 平均合并
- 5 天 3 小时
- 30 天内合并 PR
- 21
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/microdf 的其他 Issue
-
Poverty gap docstrings overclaim FGT indices, and the poverty estimators have no tests可能已有人在做 @juaristi22 于 6 天前认领。 未关闭
PolicyEngine/microdf#334 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Fail closed: aggregation and construction paths that silently return unweighted results可能已有人在做 @juaristi22 于 6 天前认领。 未关闭bug
PolicyEngine/microdf#333 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
PolicyEngine/microdf#314 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
PolicyEngine/microdf#264 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 45/100
PolicyEngine/microdf#223 ·
维护者通常 1 天内回复
查看 PolicyEngine/microdf 的全部 Issue
相似的 Issue
-
ACK_WAITING HELP_WANTED UPDATE_CS
难度 2/5 1-3 小时 新手友好度 78/100
OWASP/CheatSheetSeries#2458 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
BasedHardware/omi#19711 ·
维护者通常 1 天内回复
-
Qwen3_5MoeModel no longer returns router_logits, breaking aux loss with output_router_logits=True未关闭
难度 2/5 1-3 小时 新手友好度 78/100
huggingface/transformers#49172 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
vllm-project/vllm-metal#885 ·
维护者通常 1 天内回复