Posts by Douglas Anderson • 19 points
2 posts
-
-1
votes1
answer41
viewsQ: Sum pandas columns by row and selecting comparative by Qgrid row
import pandas as pd import seaborn as srn import statistics as sts dataset = pd.read_excel('/content/drive/MyDrive/Data science /BRA 2020.xlsx') dataset.head() dataset = dataset.drop ('League', axis…
-
0
votes2
answers63
viewsQ: How to add a new column with the group average in pandas?
I’m trying to insert a new column with average home goals per team . I calculated the average, but I cannot insert this value in a new column. database: https://www.football-data.co.uk/brazil.php My…