madscheme/introducing-python

There is no "substantial code example" (Preface | page XXVII) for Chapter 16 here

OldSubSailor opened this issue · 0 comments

All that I have found is the villains.csv file. Further, I believe that there is an error in the code on page 306, upper half that is supposed to produce the villains.csv file. I get a villains.txt file that looks exactly like the .csv file.

This will not work with the Pandas Example 16-2 later on in the book.

Also, the other examples are plainly shown to be written in the immediate mode, while this example does not. Was this a typo/editing error or is it supposed to be a python script but not completely documented as such?

macOS Big Sur 11.6. Python 3.8.9.