Python exist status 137

Hi Guys,

I encountered exit status 137 in repl.it.
I am planning to test my code in jupyter notebook and transfer them to repl.it.
Is it possible to do so?
I would appreciate your guidance on the process I cannot run the csv file in jupyter notebook.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36.

Challenge: Demographic Data Analyzer

Link to the challenge:

I’ve played a bit with the code, seems one of the lines is causing occurrence of the error. Try to change/simplify it. Small hint - try to use already defined higher_education in a more direct way.

line 26

higher_education_rich = (higher_education & df['salary'] > "50k")['salary'].count().sum() / df['education'].count().sum() 

Hi.
I have simplify the code but I still get the same exit status 137.
Do you know the way to transfer the file to jupyter notebook and test the code there?

Take a closer look at this part:

(higher_education & df['salary'] > "50k")

Notice condition for the salary is checked against whole df, while interesting results are just among those in the higher_education part of df.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.