Group Group Group Group Group Group Group Group Group

Chapter 4/Page 121 - SyntaxError: invalid character in identifier

#1

Hey,
I’m getting an error on page 121 (see screenshot) Any idea what I might have done wrong here?

#2

Hi @maad81, looks to me like the opening quote of the records string isn’t a quote. Maybe its a copy paste issue with jupyter?

#3

@vsharma - thanks, not sure - I copy+paste straight from the book(PDF). I’m running Jupyter Notebook 5.7.4

#4

Unfortunately, copy-pasting from PDF files is error-prone. In this case it has changed a straight quote into a curly one. It should be a straight quote. :smiley:

Edit: It’s actually a typo in the book. But in general, be careful with copy-pasting straight from the PDF.

1 Like