Page 11: 1-1 (In the repository you downloaded, you should find a file named chap01ex.ipynb, which is an IPython notebook. You can launch IPython notebook from the command line…)
Page 11: 1-2 (Create a file named chap01ex.py and write code that reads the respondent file, 2002FemResp.dat.gz. You might want to start with a copy of nsfg.py and modify it…)
Page 25: 2-1 (Based on the results in this chapter, suppose you were asked to summarize what you learned about whether first babies arrive late…)
Page 25: 2-4 (Using the variable totalwgt_lb, investigate whether first babies are lighter or heavier than others…)
You can follow along with the solution file for this exercise, or you can use a different package to do this work like NumPy – if you want to use a different package, make sure you include histograms as part of your analysis.
A Gentle Introduction to Effect Size Measures in Python. Machine Learning Mastery
pandas.DataFrame.hist. Pandas 0.25.0 Documentation
numpy.histogram. SciPy
Matplotlib Histogram. Python Tutorials