small medium large xlarge

The latest version of the book is P1.0, released about 1 month ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (17-Jan-18)
  • Fixed: 17-Jan-18, awaiting book release
#82519
PDF page: 95
Apparently, G.node does not return a dictionary, but just a list. Hence, print(G.node) displays: ['A', 'eggs', 'spinach', 'folates', 'asparagus', 'li...more...
Dmitry Zinoviev says: You must be using networkx 2.0. The book is using networkx 1.11.
  • Reported in: P1.0 (17-Jan-18)
  • Fixed: 17-Jan-18, awaiting book release
#82520
PDF page: 101
(tested on mac os, with python 3.6.3) Code below probably needs to be fixed: loops = G.selfloop_edges() ​G.remove_edges_from(loops) ​​ pri...more...
Dmitry Zinoviev says: You must be using networkx 2.0. The book is using networkx 1.11.
  • Reported in: P1.0 (17-Jan-18)
  • Fixed: 17-Jan-18, awaiting book release
#82521
PDF page: 108
The following instruction misuses the parameters order: nx.set_node_attributes(G, ​"nutrient"​, nutrient_dict) Instead, tt should be called as...more...
Dmitry Zinoviev says: You must be using networkx 2.0. The book is using networkx 1.11.