提问人:Jonas S 提问时间:10/30/2023 更新时间:10/30/2023 访问量:70
无法在 pandas/jupyter 笔记本中更新 Numexpr
Cannot update Numexpr in pandas/jupyter notebook
问:
所以,我们今天在课堂上做了一个练习,它要求我安装一个特定(旧)版本的熊猫。 但是,现在突然间,我在 jupyter notebook 中遇到了 pandas 问题,因为当我将 pandas 安装为 pd 时,会发生此错误:
C:\Users\jonas\anaconda3\lib\site-packages\pandas\core\computation\expressions.py:21:UserWarning:Pandas 需要版本“2.8.0”或更高版本的“numexpr”(当前已安装版本“2.7.3”)。 从 pandas.core.computation.check 导入NUMEXPR_INSTALLED C:\Users\jonas\anaconda3\lib\site-packages\pandas\core\arrays\masked.py:62: UserWarning: Pandas 需要版本“1.3.4”或更高版本的“bottleneck”(当前已安装版本“1.3.2”)。 从 pandas.core 导入 (
问题是,这意味着,当我尝试像往常一样可视化我的数据时。matplotlib,它似乎不知道使用我给它的命令。 尝试可视化数据时出现以下错误:
TypeError:无法解压缩不可迭代的 int 对象
我尝试使用** !pip3 install --upgrade numexpr**在jupyter笔记本中更新numexpr
但这给了我这个错误:错误:由于 OSError 无法安装软件包:[WinError 5] Adgang nægtet:'C:\Users\jonas\anaconda3\Lib\site-packages\~umexpr\interpreter.cp39-win_amd64.pyd'
请考虑使用 --user
选项或检查权限。
我是编程和数据科学的新手,所以我希望这是有道理的。提前非常感谢,最好的,乔纳斯
答: 暂无答案
评论
obj[:, None]