AllenDowney / ThinkStats2

Text and supporting code for Think Stats, 2nd Edition
http://allendowney.github.io/ThinkStats2/
GNU General Public License v3.0
4.03k stars 11.31k forks source link

Initial Test Breaks if not executed from code directory #55

Closed reachtarunhere closed 2 years ago

reachtarunhere commented 8 years ago

This is a minor suggestion and not really necessary.

After cloning the repo I executed the command

python code/nsfg.py

It failed to find the data files and therefore threw some errors. I suggest adding a line in the book that mentions that we should be in the code directory. This can also be resolved by adding a couple of lines to the file and I am adding a PR for that.

Thanks.