By Developers, For Developers
PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
---|---|---|---|---|---|
27 | 13 | ERROR | Unit 5, Choosing the Right Data Structure, first page of that section The following code uses a non-existing variable `big`: bigList = [str(i) for i in range(10000000)] The second line of code above checks if “abc” is in the collection `big`. But it should be `bigList`. | 2016-05-27 | |
19 | TYPO | I suspect you mean to open the URL “www.networksciencelab.com” in the example, not “www.networkscience.com”. The latter times out and doesn’t connect. | 2016-05-27 | ||
13 | TYPO | bigList = [str(i) for i in range(10000000)] | 2016-05-27 | ||
62 | ERROR | Just like with range, the value of stop can be larger than start | 2016-05-27 | ||
21 | TYPO | Word should be pattern not patter in second paragragh, second sentence. | 2016-05-27 | ||
19 | TYPO | code example uses urlopen(“xxxxxx…networkscience…”). networkscience… doesn’t resolve. i think it should be urlopen(“xxxxxxx….networksciencelab….”) | 2016-06-02 | ||
29 | 14 | TYPO | Chapter 2 Unit 5 | ||
13 | ERROR | The search time for Python sets and dicts is O (1), not O (log(N)) as stated in Unit 5. The underlying algorithm is a hash table. | |||
15 | SUGGEST | At the bottom of the page, you mention that a comprehension enclosed in parenthesis evaluates to a “list generator object”. This is non-standard terminology. My suggestions: [line for line in (l.strip() for l in infile) if line] | |||
35 | ERROR | In the code on this page there is a parameter on the “try” section: file=sys.err, it doesn’t work on Anaconda 4.1, I use file=sys.stderr and it worked. | |||
58 | ERROR | On the code at the end of the book, when the Stemmer is created I got an error on Python 3.5, I just used: ls = LancasterStemmer() | |||
127 | TYPO | In the paragraph were the “qcut()” function is introduced (second paragraph) the qcut() and cut() function are misspelled as “qcuts()” and “cuts()”. | |||
150 | SUGGEST | The plotting example is nice, however in my opinion it’s a little bit complex for beginners reading this book, I suggest to introduce this section with a simpler plot, like a scatter plot or a bar char. | |||
172 | TYPO | There is a type in the first paragraph on this phrase: “You cannot just claim that your data mode predicts something…” I guess the last part of the sentence should be “… you data models predicts…” | |||
43 | TYPO | I believe the code: Or am I mistaking? | |||
104 | 105 | ERROR | Chapter 6. Working with Data Series and Frames - 104page unit 34. Combining Data Deleting Duplicates The duplicated([subset]) function returns a Boolean series denoting if each row in => The default value is “first” in the part corresponding to “each” that returns | ||
59 | ERROR | In the code example on this page there is no variable ‘text’, it should be ‘words’
should be
Additionally at the top of this page ‘ntlk’ is not imported so this code sample doesn’t run without adding “import nltk” at the top of the code sample on PDF page 58. | |||
32 | TYPO | Book says: “The value of the name object of the title’s parent element is For me, the statement that worked is “soup.title.parent.name”, then the corrected text could be like this: “The value of the name object of the title’s parent element is Thank you! | |||
100 | ERROR | This is error in code: IndexError: list index out of range | |||
171 | SUGGEST | I found very annoying that in the solution folder there are not all the data you need to run them. |