The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Finding Problem while importing .CSV file in machine learing course

Finding Problem while importing .CSV file in machine learing course

0
Votes
2
Answer

Help me out in importing this:(
It’s showing file doesn’t exist even though i downloaded n wrote the correct code for importing
ScreenShot

2 Answers

365 Team
0
Votes

Hi Sai, 
I cannot see the screenshot you are trying to provide. Could you please use a service like https://imgur.com/ to share the screenshots?
Iliya 

ya i have posted over there in the above link

8 months

365 Team
0
Votes

Hi Sai,
This is an issue that occurs due to your specific Anaconda installation. The easiest way to solve this is to reinstall Anaconda.
However, we recommend that you use the absolute path of a file when loading the data.
Thus, you can write: data = pd.read_csv(‘ABSOLUTE_PATH/real_esate_price_size.csv’)
To me this looks like: data = pd.read_csv(‘C:/Users/365/Desktop/Machine_Learning/real_estate_price _size.csv’)
In your case, you can find that by opening the folder containing the files and copy-pasting the path. Once you copy-paste this path, you should CHANGE ALL SLASHES from backward to forward.
This means that if your path is C:\Users\YOUR_COMPUTER_NAME\Desktop\… , you should make it look like: C:/Users/YOUR_COMPUTER_NAME/Desktop/…
Note that, due to the standards for referencing paths, in Python, instead of a backward slash ( \ ), you should use a forward slash ( / ).
Best,
Iliya