Important

You are seeing the previous version of the new Alura experience we are preparing for you. Soon, it will get a brand-new visual identity designed to boost your studies!

Solved
(See solution)
1
reply

[Bug] Erro na seção de pd.cut na aula de classes personalizadas

Código

pd.cut(dados.Renda,
       bins =  classes,
       labels = labels,
       include_lowest = True)

Retorno

0        A
1        A
2        A
3        A
4        A
        ..
76835    A
76836    A
76837    A
76838    A
76839    A
Name: Renda, Length: 76840, dtype: category
Categories (5, object): ['E' < 'D' < 'C' < 'B' < 'A']
1 reply
solution!

Consegui resolver!