0

I have an issue with pd.read_csv() for some reason I can no longer upload data.

Error: module 'pandas' has no attribute 'read_csv'

data = pd.read_csv('MSFT-1.csv')

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_9236\507647841.py in <module>
----> 1 data = pd.read_csv('MSFT-1.csv')

AttributeError: module 'pandas' has no attribute 'read_csv'
justdance
  • 41
  • 2
  • Can you check the version of pandas you are using? – CircuitSacul Apr 23 '22 at 04:28
  • 1
    Is it possible you've named a python file in your project `pandas.py` or similar as outlined in [this answer](https://stackoverflow.com/a/68516382/15497888) or [this one](https://stackoverflow.com/a/66913583/15497888)? – Henry Ecker Apr 23 '22 at 05:37

0 Answers0