ethanweed/pythonbook

Is making

Opened this issue · 0 comments

In section 14.3.6. Doing the test in Python, the data are converted from long to wide. But maybe this is just confusing? Maybe I should at least show that you can also just subset the data in the call to pingouin?

Like this:
pg.ttest(df[df['tutor'] == 'Anastasia']['grade'], df[df['tutor'] == 'Bernadette']['grade'], correction = False)

Also the text about correction=False and the default set to True is confusing.