Number of men and women in the state of Pernambuco em 2010



 DataSet:

Displaying the first 5 lines of the dataset with populacao_pe.head (5) we have the output out [36]

we see that the numerical column exeto the index and Codigo do municipio deals with quantity data, so in [29] I create the variable homens receiving the sum() method from the column Total de homens and the same I do for the Total de mulheres
in this set date are 8,459,794 men and 9,132,270 women, the total variable receives the sum of the inhabitants and the diferença receives the amount of women that the one of menin this case in 2010 Pernambuco had 672.476 more women than men

we will talk about graph functions in another post