Use the plots to explore the following questions:
What percent of majors are predominantly male? Predominantly female?
What's the most common median salary range?
I am not sure how to understand, what majors are predominantly…
I just see one bar.
Furthermore, I have no bar at all at the Median Salary…
Can you please add more information to your topic?
These articles may help you:
To increase your chance of getting a high quality answer, you want to focus on asking a high quality question. Before we dive into the tips, let’s think of a hypothetical situation so that we can create an example question.
When you ran the following code:
print(sum([1, 2, 3]))
You received the following error:
TypeErrorTraceback (most recent call last)
<ipython-input-1-96fd51102535> in <module>()
----> 1 print(sum([1, 2, 3]))
TypeError: 'int' object is not callable
Sharing your guided project in the community can be helpful if:
You’re having difficulty and you’d like to get help
You’d like to share your guided project to get feedback from others
How to share your guided project
Use the Jupyter File menu to download your notebook as an .ipynb file.
Start a new topic for your project by hitting the New Topic button.
Upload the .ipynb file as an attachment to your post in the community.
Sorry for waiting
As you can see in my Notebook, it works, I just do not understand how to read that information. Also the solution
https://github.com/dataquestio/solutions/blob/master/Mission146Solutions.ipynb doesnt help at all, since there is no markdown description.
Please remove the
range arguments from the
.hist() method (
bins=25, range=(0,5000)). This will allow
matplotlib to auto-detect the best values and thus, your plots will be produced correctly.
For the explanation part, I do agree that the solution page is not helpful as no explanation is available in this project. I had raised this issue with the content team and they are working on a rewrite of this course so this will be fixed.
To help you to understand how to interpret the results, I think these two posts will help you:
Hi Abel! When you create a histogram, the data in the column is split into 10 equally-sized intervals (by default) and then the frequencies are plotted. The ShareWomen column contained the percentages (as decimals), so what the histogram is telling you is a count of how many entries in the column were in certain percentage ranges. I can see how this can be a little confusing, so hopefully the following information will help you.
To see what the histogram is doing, you can add the parameter b…