AttributeError: partially initialized module ‘pandas’ has no attribute ‘read_csv’
之前可以用,现在不可以用,检测发现是自己建立了select.py文件,可能select是比较敏感的词,如果你们遇到问题可能是建立了敏感词命名的文件(不一定是select.py,可能是csv.py等等),把文件名修改后就可以正常使用;了
以后建立py文件命名可要更加小心
解决AttributeError: partially initialized module ‘pandas‘ has no attribute ‘read_csv‘
最新推荐文章于 2024-06-21 10:11:12 发布
遇到`AttributeError: partially initialized module 'pandas' has no attribute 'read_csv'`的问题?可能是由于创建了名为'select.py'的文件导致的冲突。解决方案是重命名或删除该文件。为避免类似问题,建立Python文件时务必注意避免使用内置库的同名文件。
摘要由CSDN通过智能技术生成