Python google colab中的熊猫分析错误
我正试图在我的谷歌Colab笔记本中使用Python google colab中的熊猫分析错误,python,pandas,google-colaboratory,data-analysis,Python,Pandas,Google Colaboratory,Data Analysis,我正试图在我的谷歌Colab笔记本中使用Pandas\u Profiling.ProfilingReport。这是我的代码: import pandas_profiling profile = pandas_profiling.ProfileReport(df) 然后得到这个错误: " concat() got an unexpected keyword argument 'join_axes' " 不幸的是,google colab中安装的pandas版本不推荐使用“join_axes
Pandas\u Profiling.ProfilingReport
。这是我的代码:
import pandas_profiling
profile = pandas_profiling.ProfileReport(df)
然后得到这个错误:
" concat() got an unexpected keyword argument 'join_axes' "
不幸的是,google colab中安装的pandas版本不推荐使用“join_axes”功能。如果降级pandas库版本,则可以使用pandas评测。只需在colab中使用:
!pip安装=0.25
然后重新启动内核
但是,您将无法使用
profile=ProfileReport(df,title=“ProfileReport”)
profile.to_widgets()
因为Google Colab还不支持ipywidgets。但是如果你只是使用
profile
您将收到一份报告您是否介意添加pd.\uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu?