ethanweed / pythonbook

Python adaptation of Danielle Navarro's Learning Statistics with R (http://learningstatisticswithr.com/). Work in progress!
107 stars 34 forks source link

Issue on page /03.01-descriptives.html #12

Closed bastiansolass closed 7 months ago

bastiansolass commented 2 years ago

Table in section 5.2.3 is the same as the one I 5.1.1 which doesn't seem right. Furthermore, the code for Fig. 5.6 in section doesn't work: matplotlib.pyplot should be imported as plt, and

dan_grump = parenthood['dan.grump'] dan_sleep = parenthood['dan.sleep'] baby_sleep = parenthood['baby.sleep']

should be:

dan_grump = parenthood['dan_grump'] dan_sleep = parenthood['dan_sleep'] baby_sleep = parenthood['baby_sleep']

bastiansolass commented 2 years ago

I see, however, that dan.grump, dan.sleep and baby.sleep are used throughout the rest of the chapter, so maybe the data should be changed.

ethanweed commented 7 months ago

I think I have fixed all of these now. Thanks Bastian :-)