hi guy!
I started learn python with pandas , but now, i get the trouble so i cant understand what i should do with this trouble

File "C:\Users\Administrator\site-packages\Ver6.py", line 3, in <module>
      abc = pd.read_csv('book2.csv')
AttributeError: module 'pandas' has no attribute 'read_csv' 

Plz , someone help me coz i cant find the way to fix it !

Recommended Answers

All 5 Replies

Try print(pd) to see where this pandas comes from.

commented: ncountering same error as AttributeError: module 'pandas' has no attribute 'read_file' +0

I try print(pd) and it apeared :

<module 'pandas' (namespace)>   

and i dont know how to use it !!!

This is annoying. Mine says

print(pd)
<module 'pandas' from '/usr/local/lib/python3.4/dist-packages/pandas/__init__.py'>

I don't understand where your pandas module comes from. Can you try

print(pd.__file__)

Also is there a file named pandas.py or pandas.pyc in your file system, or a directory named pandas.

AttributeError : 부분적으로 초기화 된 모듈 'pandas'에 'read_csv'속성이 없습니다 (대부분 순환 가져 오기로 인해) ㅇ이 말을 도저히 이해를 할수가 없어요어떡해해야하

The above non-English post got automatically flagged by our spam bot, but in translating it, I realized it seemed to be a legitimate post.

I’ve released it and unbanned the author. Sorry about that. I do realize this is an old discussion.

For future notice, we are meant to be an entirely English-only community.

commented: what it means? +2
commented: So true +0
commented: So what does it mean? +0
commented: Encountering same error as AttributeError: module 'pandas' has no attribute 'read_file' +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.