Posts by shervis • 1 point
1 post
-
0
votes1
answer321
viewsA: I need to add some specific lines in a data frame
After selecting the lines, as you did: df1 = teste.iloc[[3,4,9]] df2 = df1.sum(axis=1) # soma cada linha individualmente no eixo horizontal df2.sum() # soma os resultados de cada linha It’s also…