From c95787db32df06f2af4be1b5587dd2dffcd030ec Mon Sep 17 00:00:00 2001 From: cojarepublic <60820059+cojarepublic@users.noreply.github.com> Date: Sat, 8 Feb 2020 16:31:13 +0100 Subject: [PATCH] The last ten rows of the recent grads dataframe The plot showed the last nine labels instead of ten. I corrected it using "recent_grads[-10: ]" --- Mission146Solutions.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mission146Solutions.ipynb b/Mission146Solutions.ipynb index 8117524..3ea1e78 100644 --- a/Mission146Solutions.ipynb +++ b/Mission146Solutions.ipynb @@ -494,7 +494,7 @@ ], "source": [ "recent_grads[:10].plot.bar(x='Major', y='ShareWomen', legend=False)\n", - "recent_grads[163:].plot.bar(x='Major', y='ShareWomen', legend=False)" + "recent_grads[-10:].plot.bar(x='Major', y='ShareWomen', legend=False)" ] } ],