Posts by user123 • 33 points
2 posts
-
1
votes1
answer82
viewsQ: How to group data from another grouping?
I have the following dataframe: x= {"Nome": ['Carla','Rafael','Juliana','Carla','Carla','Juliana','Rafael','Juliana','Rafael'], "Salario": [1200,1500,2000,1230,1250,2050,1700,2500,1750]}…
-
1
votes2
answers47
viewsQ: How to remove dtype from dataframe line?
Running the code: def novacoluna(df): coluna_adicionada = {} coluna_adicionada['retorno_diario']= df['quota_value']/df['quota_deslocada'] return pd.Series(coluna_adicionada,…