0
Hello, I’m a beginner in the programming area and I’m having difficulty making a frequency table.
The table is this:
import math
import statistics
import numpy as np
import scipy.stats
import pandas as pd
escolaridade = {
'Grau de escolaridade' : ['Primário', 'Secundário', 'Superior'],
'Urbano' : [5025, 3155, 1720],
'Rural' : [2580, 285, 20]}
df = pd.DataFrame(escolaridade)
df
I need to calculate:
Proportion and % of individuals and each level of education, beyond some proportions, but I could not even sum up the figures to develop the calculations.
I wonder if someone could help me?