此错误在使用过时版本的软件包时发生。
Jupyter "IntSlider(value=0)"
请确保您使用的是最新版本,并且在 notebook 中时,请确保已在需要时重新启动了内核。另请确保您安装在正确的 Python 环境中(请使用 !{sys.executable} -m pip install -U ydata-profiling
!)。有关直接从 notebook 安装 Python 软件包的更多信息,请参阅:\'Installing Python Packages from a Jupyter Notebook\'。
相关的 GitHub issue
在 Jupyter 环境中,如果仅显示诸如 IntSlider(value=0)
或 (children=(IntSlider(value=0, description='x', max=1), Output()), _dom_classes=('widget-interact',))
的文本,则表示 Jupyter Widgets 未激活。页面 ../getting_started/installation
包含解决此问题的说明。
MemoryError: Unable to allocate... 当对具有非常大值的数据集进行概要分析时
当对包含大型异常值(即使数据集本身很小)的数据集进行概要分析时,会出现内存错误,这是由于用于构建直方图的 numpy
中存在底层错误。虽然在 numpy 的 GitHub 上提出了一些解决方法,但该错误尚未修复。一种解决方法是在计算报告之前过滤掉大型异常值。
参考
相关的 StackOverflow 问题: - MemoryError when using ydata_profiling profile_report
回到顶部