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

**URL:** <https://forums.kodeco.com/t/chapter-4-page-121-syntaxerror-invalid-character-in-identifier/63387>\
**Category:** Machine Learning by Tutorials\
**Created:** [February 28, 2019, 7:29pm UTC](https://forums.kodeco.com/t/chapter-4-page-121-syntaxerror-invalid-character-in-identifier/63387 "2019-02-28T19:29:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maad81](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/maad81/32/93533_2.png) [@maad81](https://forums.kodeco.com/u/maad81)\
**Post date:** [February 28, 2019, 7:29pm UTC](https://forums.kodeco.com/t/chapter-4-page-121-syntaxerror-invalid-character-in-identifier/63387/1 "2019-02-28T19:29:29Z")

</div>

Hey,  
I’m getting an error on page 121 (see screenshot) Any idea what I might have done wrong here? ![10%20PM](https://files.chunter.kodeco.com/original/3X/5/9/59b8a6603df3ff2ab35f853ce4a47ce415c95d96.jpeg)

---

<div class="post-metadata">

**Author:** ![vsharma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/vsharma/32/108443_2.png) [@vsharma](https://forums.kodeco.com/u/vsharma)\
**Post date:** [February 28, 2019, 7:42pm UTC](https://forums.kodeco.com/t/chapter-4-page-121-syntaxerror-invalid-character-in-identifier/63387/2 "2019-02-28T19:42:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![maad81](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/maad81/32/93533_2.png) [@maad81](https://forums.kodeco.com/u/maad81)\
**Post date:** [February 28, 2019, 7:51pm UTC](https://forums.kodeco.com/t/chapter-4-page-121-syntaxerror-invalid-character-in-identifier/63387/3 "2019-02-28T19:51:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hollance](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hollance/32/109009_2.png) [@hollance](https://forums.kodeco.com/u/hollance)\
**Post date:** [February 28, 2019, 8:18pm UTC](https://forums.kodeco.com/t/chapter-4-page-121-syntaxerror-invalid-character-in-identifier/63387/4 "2019-02-28T20:18:40Z")

</div>

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. 😃

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