Python 无法识别关键字旋转(正在分析)

Python 无法识别关键字旋转(正在分析),python,pandas,pandas-profiling,Python,Pandas,Pandas Profiling,我正在尝试使用pandas\u评测包进行数据评测。对于基本用法,我遵循了以下文档 并使用其中的以下代码 import numpy as np import pandas as pd import pandas_profiling df = pd.DataFrame( np.random.rand(100, 5), columns=['a', 'b', 'c', 'd', 'e'] ) df.profile_report(style={'full_width':True}) 但在Anaco

我正在尝试使用pandas\u评测包进行数据评测。对于基本用法,我遵循了以下文档

并使用其中的以下代码

import numpy as np
import pandas as pd
import pandas_profiling

df = pd.DataFrame(
np.random.rand(100, 5),
columns=['a', 'b', 'c', 'd', 'e']
)

df.profile_report(style={'full_width':True})
但在Anaconda中运行此代码时,我得到以下错误


ValueError:无法识别关键字旋转;有效关键字为['size'、'width'、'color'、'tickdir'、'pad'、'labelsize'、'labelcolor'、'zorder'、'gridOn'、'ticklon'、'ticklon'、'label1On'、'label2On'、'length'、'direction'、'loft'、'labelbottom'、'labelright'、'labeltop']

以备将来参考:更新pandas和matplotlib软件包。pandas profiling 2.4.0之后的版本将自动更新这些软件包。

供将来参考:更新pandas和matplotlib软件包。pandas profiling 2.4.0之后的版本将自动更新这些软件包。

您在Jupyter记事本中发布的代码对我来说很好。您能告诉我为什么会出现此错误吗,因为我已经安装了所有库请发布
pd.show_Versions()的输出
@UsmanRafiq
'3.1.0'
@anky_91在我升级了与您相同的软件包后,它对我起了作用,谢谢您在Jupyter笔记本中发布的代码对我很好。您能告诉我为什么会出现此错误吗,因为我已经安装了所有库请发布
pd.show_versions()的输出
@UsmanRafiq
'3.1.0'
@anky\u 91在我升级了与您相同的软件包后,它对我有效,谢谢