From b7574010fdc12c971b61d93dd19acce692716126 Mon Sep 17 00:00:00 2001 From: ASPP Student Date: Mon, 2 Sep 2019 18:42:48 +0200 Subject: [PATCH 1/2] exercise 5 --- pandas_and_tidying_ex5.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas_and_tidying_ex5.py b/pandas_and_tidying_ex5.py index e69de29..04c29e7 100644 --- a/pandas_and_tidying_ex5.py +++ b/pandas_and_tidying_ex5.py @@ -0,0 +1 @@ +x.groupby('Mutator')['Total Mutations'].mean() From 258ac735038579f97ea6c96dad8028c32fcb6c42 Mon Sep 17 00:00:00 2001 From: ASPP Student Date: Mon, 2 Sep 2019 18:47:35 +0200 Subject: [PATCH 2/2] changed the name of the variable --- pandas_and_tidying_ex5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas_and_tidying_ex5.py b/pandas_and_tidying_ex5.py index 04c29e7..bef3920 100644 --- a/pandas_and_tidying_ex5.py +++ b/pandas_and_tidying_ex5.py @@ -1 +1 @@ -x.groupby('Mutator')['Total Mutations'].mean() +ltee.groupby('Mutator')['Total Mutations'].mean()