Screen Link: Learn data science with Python and R projects
wnba['Games Played'].plot.hist(range = (1,32), bins = 8, title = 'The distribution of players by games played') plt.xlabel('Games Played')
What I expected to happen:
This should work correctly and in fact creates a graph that looks as it should.
What actually happened:
Although this runs, without any errors, when submitted it states there is an error somewhere, which I can’t find.
One of your variables doesn't seem to have the correct value. Please re-check the instructions and your code. Your 1st plot doesn't match what we expected.