添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

我正在尝试 Pandas_Profiling.ProfilingReport 在我的 Google Colab 笔记本中使用。这是我的代码:

 import pandas_profiling
 profile = pandas_profiling.ProfileReport(df)

并得到那个错误:

" concat() got an unexpected keyword argument 'join_axes' "

标签: pythonpandasgoogle-colaboratorydata-analysis

不幸的是,谷歌 colab 中安装的 pandas 版本不推荐使用“join_axes”功能。如果您降级 pandas 库版本,您可以使用 Pandas Profiling。只需在您的 colab 中使用:

! pip install pandas==0.25

然后重启内核!

但是,您将无法使用

profile = ProfileReport(df, title="Pandas Profiling Report")
profile.to_widgets()

因为 Google Colab 还不支持 ipywidgets。但如果你只是使用

profile

你会得到一份报告

  • node.js - 如何在 nodeJs 服务器上正确使用 Forest Admin?(与森林快递猫鼬)
  • mysql - 如何找到更便宜的产品
  • firebase - Firestore,追随者数据结构
  • matlab - MATLAB:缺少类时的平均交集(IOU)计算
  • python - requests.get(url).json(): JSONDecodeError: 期望值: line 1 column 1 (char 0)
  • c - 处理器堆读取和预取
  • node.js - DISCORD.JS HTTPError [AbortError]:用户中止了请求
  • zsh - 在 npm 脚本中添加 zsh 三元运算符 - 替换错误
  • r - 您将如何优化在 R 中划分双变量数据?
  • python - 带记忆的动态编程无法正常工作
  •