firstprogram
firstprogram
Running Your First Program
1 post
Don't wanna be here? Send us removal request.
firstprogram · 5 years ago
Photo
Tumblr media Tumblr media
The 3 variables, income per person, alcohol consumption and breast cancer in percentages are shown in the result above. An analysis on subcategory results for people who have high income and high alcohol consumption is also done on the dataset. 
country                  object incomeperperson         float64 alcconsumption          float64 armedforcesrate         float64 breastcancerper100th    float64 co2emissions            float64 femaleemployrate        float64 hivrate                 float64 internetuserate         float64 lifeexpectancy          float64 oilperperson            float64 polityscore             float64 relectricperperson      float64 suicideper100th         float64 employrate              float64 urbanrate               float64 dtype: object NaN             0.107981 8614.120219     0.004695 39972.352768    0.004695 279.180453      0.004695 161.317137      0.004695
377.421113      0.004695 2344.896916     0.004695 25306.187193    0.004695 4180.765821     0.004695 25575.352623    0.004695 Name: incomeperperson, Length: 191, dtype: float64 NaN      0.122066 15.00    0.004695 3.99     0.004695 5.25     0.004695 9.75     0.004695
16.30    0.004695 5.21     0.004695 0.32     0.004695 9.48     0.004695 8.69     0.004695 Name: alcconsumption, Length: 181, dtype: float64 23.5    0.009390 NaN     0.187793 70.5    0.004695 31.5    0.004695 62.5    0.004695
46.2    0.004695 62.1    0.004695 50.4    0.009390 46.6    0.004695 31.7    0.004695 Name: breastcancerper100th, Length: 137, dtype: float64 28033.489283    0.032258 39972.352768    0.032258 32292.482984    0.032258 11894.464075    0.032258 30532.277044    0.032258 15313.859347    0.032258 11744.834167    0.032258 14778.163929    0.032258 12729.454400    0.032258 18982.269285    0.032258 37491.179523    0.032258 10749.419238    0.032258 19630.540547    0.032258 26551.844238    0.032258 37662.751250    0.032258 25249.986061    0.032258 25306.187193    0.032258 13577.879885    0.032258 27110.731591    0.032258 10480.817203    0.032258 26692.984107    0.032258 15461.758372    0.032258 22878.466567    0.032258 39309.478859    0.032258 24496.048264    0.032258 27595.091347    0.032258 52301.587179    0.032258 33945.314422    0.032258 16372.499781    0.032258 21943.339898    0.032258 25575.352623    0.032258 Name: incomeperperson, dtype: float64 28033.489283    0.032258 39972.352768    0.032258 32292.482984    0.032258 11894.464075    0.032258 30532.277044    0.032258 15313.859347    0.032258 11744.834167    0.032258 14778.163929    0.032258 12729.454400    0.032258 18982.269285    0.032258 37491.179523    0.032258 10749.419238    0.032258 19630.540547    0.032258 26551.844238    0.032258 37662.751250    0.032258 25249.986061    0.032258 25306.187193    0.032258 13577.879885    0.032258 27110.731591    0.032258 10480.817203    0.032258 26692.984107    0.032258 15461.758372    0.032258 22878.466567    0.032258 39309.478859    0.032258 24496.048264    0.032258 27595.091347    0.032258 52301.587179    0.032258 33945.314422    0.032258 16372.499781    0.032258 21943.339898    0.032258 25575.352623    0.032258 Name: alcconsumption, dtype: float64 NaN      0.064516 70.5     0.032258 92.0     0.032258 90.0     0.032258 82.5     0.032258 55.5     0.032258 86.7     0.032258 87.8     0.032258 74.9     0.032258 74.8     0.032258 84.7     0.032258 81.7     0.032258 20.4     0.032258 74.4     0.032258 101.1    0.032258 32.7     0.032258 67.2     0.032258 51.1     0.032258 91.9     0.064516 58.9     0.032258 Name: breastcancerper100th, dtype: float64
0 notes