Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Want Know Make Overlaid Bar Chart Male Female Suicide Year Y Axis Rate Per 10k X Axis Year Q35587316

I want to know how to make an overlaid BAR chart for male andfemale suicide each year. y-axis is rate per 10k, and x-axis isyear. label male and female with different colors.
[2]: 1 from datascience isport 2 import matplotlib 3 Saatplotlib inline 4 isport matplotlib. pyplot as plots 5 import numpy amedia%2F40b%2F40bb6c6a-eb6d-4f27-bd5e-2dmedia%2Fa37%2Fa373bf24-65f9-4974-b80d-06media%2F9f4%2F9f407f38-d306-46d8-9158-c3
[2]: 1 from datascience isport 2 import matplotlib 3 Saatplotlib inline 4 isport matplotlib. pyplot as plots 5 import numpy as np a):1 data – ‘https:/rax. ti thubusercoatent. con/943964/atasice/msster/aster.cv 4]: 1 table Table. read table (data) 2 table t4: country year sex no population suicides/100k pop country year HDI for year gdp for year (S) gdp per capita (S) generation 796 Generation x Silent Albania 1987 male 15-24 years Albania 1987 male 35-54 years Albania 1987 female 15-24 years Albania 1987 male 75+ years Albania 1987 male 25-34 years Albania 1987 female 75+ years Albania 1987 female 35-54 years Albania 1987 female 25 34 years Albania 1987 male 55-74 years Albania 1987 female5-14 years 21 312900 16 308000 14 289700 21800 9 274300 35600 6 278800 4 257200 1 137500 0 311000 6.71 Albania 1987 5.19 Albania 1987 4.83 Albania1987 4.59 Albania 1987 3.28 Abania 1987 281 Albania 1987 2.15 Albania 1987 .56 Albania 1987 073 Albania 1987 0 Albanria1987 nan 2,156,624,900 nan 2,156,624,900 nan 2,156,624,900 nan 2,156,624,900 nan 2.156,624,900 nan 2,156,624,900 nan 2.156,624,900 nan 2,156,624,900 nan 2,156,624,900 nan 2,156,624 900 796 96 GI Generation 796 Boomers 796 GI Generation 796 796 756 GLGeneration 795 Generation )X Silent (27810 rows ornitted) ts): suicide – table. select (C’ country. ‘year’, ‘sex’, age, ‘suicides no’, ‘population’]) 1 2 suicide ut (5 country year sex Albania 1987 male 15-24 years Albania 1987 male 35-54 years Albania 1987 female 15-24 years Albania 1987 male 75+ years Albania 1987 male 25-34 years Albania 1987 female 75+ years Albania 1987 female 35-54 years Albania 1987 female 25-34 years Albania 1987 male 55-74 years Albania 1987 female 5-14 years age suicides no population 21 312900 16 308000 14 289700 1 21800 9 274300 35600 6 278800 4 257200 1 137500 0 311000 (27810 rows omitted) [6] : suicidel, rate_per_10们“ suicidel’ suicides.no’] / (suicidel’ population. ] / 10000) aore easily copare the auieide rates anong We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageShow transcribed image text [2]: 1 from datascience isport 2 import matplotlib 3 Saatplotlib inline 4 isport matplotlib. pyplot as plots 5 import numpy as np a):1 data – ‘https:/rax. ti thubusercoatent. con/943964/atasice/msster/aster.cv 4]: 1 table Table. read table (data) 2 table t4: country year sex no population suicides/100k pop country year HDI for year gdp for year (S) gdp per capita (S) generation 796 Generation x Silent Albania 1987 male 15-24 years Albania 1987 male 35-54 years Albania 1987 female 15-24 years Albania 1987 male 75+ years Albania 1987 male 25-34 years Albania 1987 female 75+ years Albania 1987 female 35-54 years Albania 1987 female 25 34 years Albania 1987 male 55-74 years Albania 1987 female5-14 years 21 312900 16 308000 14 289700 21800 9 274300 35600 6 278800 4 257200 1 137500 0 311000 6.71 Albania 1987 5.19 Albania 1987 4.83 Albania1987 4.59 Albania 1987 3.28 Abania 1987 281 Albania 1987 2.15 Albania 1987 .56 Albania 1987 073 Albania 1987 0 Albanria1987 nan 2,156,624,900 nan 2,156,624,900 nan 2,156,624,900 nan 2,156,624,900 nan 2.156,624,900 nan 2,156,624,900 nan 2.156,624,900 nan 2,156,624,900 nan 2,156,624,900 nan 2,156,624 900 796 96 GI Generation 796 Boomers 796 GI Generation 796 796 756 GLGeneration 795 Generation )X Silent (27810 rows ornitted) ts): suicide – table. select (C’ country. ‘year’, ‘sex’, age, ‘suicides no’, ‘population’]) 1 2 suicide ut (5 country year sex Albania 1987 male 15-24 years Albania 1987 male 35-54 years Albania 1987 female 15-24 years Albania 1987 male 75+ years Albania 1987 male 25-34 years Albania 1987 female 75+ years Albania 1987 female 35-54 years Albania 1987 female 25-34 years Albania 1987 male 55-74 years Albania 1987 female 5-14 years age suicides no population 21 312900 16 308000 14 289700 1 21800 9 274300 35600 6 278800 4 257200 1 137500 0 311000 (27810 rows omitted) [6] : suicidel, rate_per_10们“ suicidel’ suicides.no’] / (suicidel’ population. ] / 10000) aore easily copare the auieide rates anong

Leave a Reply

Your email address will not be published. Required fields are marked *