无法在jupyter中导入熊猫



当我在jupyter库中导入panda时,会生成以下内容。

AttributeError                            Traceback (most recent call last)
<ipython-input-24-f869c0f42cc0> in <module>
----> 1 import pandas as pd
2 import numpy as np
3 get_ipython().run_line_magic('matplotlib', 'inline')
C:ProgramDataAnaconda3libsite-packagespandas__init__.py in <module>
24 
25 try:
---> 26     from pandas._libs import (hashtable as _hashtable,
27                              lib as _lib,
28                              tslib as _tslib)
pandas_libshashtable_class_helper.pxi in init pandas._libs.hashtable()
AttributeError: type object 'pandas._libs.hashtable.HashTable' has no attribute '__reduce_cython__'

你能帮我解决这个问题吗?感谢

在代码中panda的位置使用pd。如果您仍然有错误,那么也在问题中编写代码。

最新更新