My Code:
from CSV import reader
open_file=open('googleplaystore.csv',encoding='utf8')
read_file=reader(open_file)
apps_data=list(read_file)
print(apps_data[0])
What I expected to happen:
not sure why in jupyter notebook, import csv isn’t working
What actually happened:
ImportErrorTraceback (most recent call last)
<ipython-input-1-0fc17fdf314d> in <module>()
----> 1 from CSV import reader
2 open_file=open('googleplaystore.csv',encoding='utf8')
3 read_file=reader(open_file)
4 apps_data=list(read_file)
5 print(apps_data[0])
ImportError: No module named 'CSV'