问题标签 [pandas-profiling]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
290 浏览

python - ImportError:无法导入名称“complete_to_chordal_graph”

我正在pandas-profiling研究生成 EDA 报告的包。它工作正常,直到多次内核重新启动后的一天,我在导入时收到以下错误。

from pandas_profiling import ProfileReport

错误:

无法找到解决方案。

0 投票
1 回答
111 浏览

python - 将数据框解析为 Pandas 分析库时出现 TypeError

我在对数据使用 pandas-profiling 时遇到 TypeError,如下所示:

汇总数据集:2% 1/59 [00:09<09:20, 9.66s/it, Describe variable:project] -->>

请帮忙。我不知道这是怎么回事。

0 投票
1 回答
382 浏览

python - 在 dash 应用程序中集成 pandas-profiling 报告

如何将熊猫分析报告集成到仪表板应用程序中?

熊猫分析

Streamlit 允许这些集成(但我很难在其中管理缓存/会话) https://discuss.streamlit.io/t/include-pandas-profiling-report-in-streamlit/473/2

但是我在dash上没有看到任何关于此的文档。请帮忙。

0 投票
2 回答
391 浏览

python - 使用 pandas 分析无法在数值数据上分配位图错误

我正在对我的数字数据进行探索性数据分析,我尝试运行 pandas 分析,但在生成报告结构时出现错误。

错误日志如下所示

总结数据集:99%|████████████████████████████████████████████ ███████████████████████████▌| 1144/1150 [46:07<24:03, 240.60s/it, 计算 cramers 相关性]C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas_profiling\model\correlations. py:101: UserWarning: 尝试计算 cramers 相关性,但失败了。要隐藏此警告,请禁用计算(使用df.profile_report(correlations={"cramers": {"calculate": False}})如果这对您的用例有问题,请将其报告为问题: https ://github.com/pandas-profiling/pandas-profiling/issues (包括错误消息:'没有数据;observed大小为 0.') warnings.warn( 总结数据集:100%|██████████████████████████████████ █████████████████████████████████████████████████▋| 1145/1150 [46:19<17:32, 210.49s/it, Get scatter matrix] 分配位图失败

0 投票
1 回答
364 浏览

python - 使用 pandas_profiling profile_report 时出现 MemoryError

我正在尝试分析一个 excel 文件,它是一个非常小的数据集,只有 30 列和 535 行,但是当我运行 profile_report 函数时,它每次都会以不同的百分比停止,但总是有相同的消息:

我在不同的 python 安装中运行了相同的代码,它运行良好。

提前谢谢大家,如果您需要更多信息,请告诉我。

0 投票
0 回答
61 浏览

pandas - 如何自定义熊猫分析分位数

这是一个关于名为“pandas-profiling”的 Python 包的问题。记录在这里:https ://pandas-profiling.github.io/pandas-profiling/docs/master/rtd/pages/advanced_usage.html#variable-summary-settings

我正在尝试将分位数 1 和 99 添加到熊猫分析分位数报告中。我的代码在下面,但似乎没有任何区别。输出报告显示默认分位数 [0.05,0.25,0.5,0.75,0.95]。我究竟做错了什么?

0 投票
0 回答
25 浏览

pandas-profiling - 如何仅打印来自 pandas_profiling 的警告?

我希望我的输出只包含来自 pandas 分析包的警告。

profile = dataset.profile_report()

0 投票
1 回答
401 浏览

python - 如何在使用 pandas_profiling 运行 ProfileReport 时解决 TypeError?

我正在使用以下规格

Python 版本 = 3.8.5 熊猫版本 = 1.2.4

在 jupyter notebook 上运行 pandas_profiling 的 ProfileReport 时出现以下错误。

TypeError: concat() got an unexpected keyword argument 'join_axes'

除了降级到旧版本之外,这个问题有什么解决方案吗?

0 投票
1 回答
69 浏览

python - import Pandas_Profiling 命令导致 ValueError: invalid literal for int() with base 10: '0rc0'

我使用以下方法成功安装了 Pandas 分析模块:

从命令提示符(以管理员身份)我尝试以两种方式导入 pandas 分析,结果相同:

方法1)import pandas_profiling;方法2)from pandas_profiling import ProfileReport

两者都导致下面的最后一行报告相同的错误代码: ValueError: invalid literal for int() with base 10: '0rc0'

在此特定错误上搜索此站点和其他站点发现与导入模块无关。不知道这里发生了什么。Python 版本是 3.7.3。如果我出错了,我将不胜感激。


0 投票
2 回答
1813 浏览

python - 在 Jupyter 上进行 Pandas 分析时出错

当我练习我的可视化技能时,我偶然发现了一篇文章,

https://towardsdatascience.com/complete-guide-to-data-visualization-with-python-2dd74df12b5e

在此,此人使用了 pandas-profiling 方法,这对我来说是新的,我尝试将它用于我的数据集,但出现意外错误。

这是代码:

但收到此错误:

我不知道 mpl.style 是什么,因为检查时该位置没有任何内容。