2
In a Data Frame I have a column with the social vulnerability index (IVS
), varying from 0
to 1
by county. I need to group some values to stay as the example:
#Como Está #Como preciso que fique
Município IVS Município IVS
A 0.488 A Alta
B 0.253 B Baixa
C 0.158 C Muito Baixa
D 0.685 D Muito alta
How to proceed?
Thank you so much! It worked fine
– Amanda
No need to thank, the vote already counts. But if you have many categories and/ or need to repeat the classification several times, I believe that the solution proposed by Rui Barradas better.
– Carlos Eduardo Lagosta