代码如下import pickle
import pandas
with open('A_data', 'rb') as f:
mk_df = pickle.load(f)
print(mk_df)
出现了报错Traceback (most recent call last):
File "D:/同心源实习/代码/反转因子.py", line 3, in <module>
import pandas
File "D:\pycharm\123\lib\site-packages\pandas\__init__.py", line 22, in <module>
from pandas.compat import is_numpy_dev as _is_numpy_dev
File "D:\pycharm\123\lib\site-packages\pandas\compat\__init__.py", line 15, in <module>
from pandas.compat.numpy import (
File "D:\pycharm\123\lib\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module>
from pandas.util.version import Version
File "D:\pycharm\123\lib\site-packages\pandas\util\__init__.py", line 7, in <module>
from pandas.core.util.hashing import ( # noqa:F401
File "D:\pycharm\123\lib\site-packages\pandas\core\util\hashing.py", line 17, in <module>
from pandas._libs import lib
File "pandas\_libs\missing.pxd", line 11, in init pandas._libs.lib
File "pandas\_libs\missing.pyx", line 22, in init pandas._libs.missing
ImportError: cannot import name is_platform_32bit
|