The correct path should be ../ml/machine_learning/datasets/housing/housing.csv. Also, would suggest you to consult the code from our notebooks available in our GitHub repository as shown in the slides.
Would request you to restart your server using the following method: https://discuss.cloudxlab.c... If the issue persists, would request you to share your email id with us. Thanks.
Please login to comment
15 Comments
Hi Sir,
Why we have dived the income_cat by 1.5?. plz give the explanations
Upvote ShareHi,
The income_cat is divided by 1.5 to divide the data into suitable sized bins.
Thanks.
Upvote ShareThis comment has been removed.
import pandas as pd
import os
HOUSING_PATH = 'https://jupyter.f.cloudxlab.com/user/bidhudatta21443/tree/Bidhu_Dataset'
def load_housing_data(housing_path=HOUSING_PATH):
csv_path = os.path.join(housing_path, "housing.csv")
return pd.read_csv(csv_path)
housing = load_housing_data()
housing.head()
Getting the below error:
"ParserError: Error tokenizing data. C error: Expected 1 fields in line 12, saw 2 "
Please help on this.
Upvote ShareHi,
The correct path should be ../ml/machine_learning/datasets/housing/housing.csv. Also, would suggest you to consult the code from our notebooks available in our GitHub repository as shown in the slides.
Thanks.
Upvote ShareHi,
Thanks for the reply. Still I am getting the same error.
GitHub repository:
import pandas as pd
import os
HOUSING_PATH = 'datasets/housing/'
def load_housing_data(housing_path=HOUSING_PATH):
csv_path = os.path.join(housing_path, "housing.csv")
return pd.read_csv(csv_path)
housing = load_housing_data()
housing.head()
My code 1:
import pandas as pd
import os
HOUSING_PATH = 'https://jupyter.f.cloudxlab.com/user/bidhudatta21443/tree/ml/machine_learning/datasets/housing'
def load_housing_data(housing_path=HOUSING_PATH):
csv_path = os.path.join(housing_path, "housing.csv")
return pd.read_csv(csv_path)
housing = load_housing_data()
housing.head()
Error:
My code 2:
housing = pd.read_csv("https://jupyter.f.cloudxlab.com/user/bidhudatta21443/edit/ml/machine_learning/datasets/housing/housing.csv")
housing.head()
Same error:
Upvote ShareHi,
As mentioned earlier, please use the following:
HOUSING_PATH = '../ml/machine_learning/datasets/housing/housing.csv'
Thanks.
Upvote ShareThis comment has been removed.
Hi,
I have completed this project 100% but now it is showing 97% completed. Please resolve the issue ASAP.
Regards,
Amit
Upvote ShareHi,
I see that you have not completed topic# 5. Please complete that and it will show 100%.
Thanks.
Upvote ShareJupyter service not available. Please look into this
503 : Service Unavailable
Your server appears to be down. Try restarting it from the hub
Thanks in advance
Upvote ShareHi,
Are you still facing this issue?
Thanks.
-- Rajtilak Bhattacharjee
Upvote ShareIts fixed now Thank you :)
Upvote ShareHi Team,
Can not connect to jupyter NoteBook. PFA.
Hi Arpita,
Would request you to restart your server using the following method:
https://discuss.cloudxlab.c...
If the issue persists, would request you to share your email id with us.
Thanks.
-- Rajtilak Bhattacharjee
Upvote Share