Errata

Data Science at the Command Line

Errata for Data Science at the Command Line

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Other Digital Version 77
1st 'command line'

When entering this command (as in the book):

$ in2csv top2000.xlsx | tee top2000.csv | trim

/usr/lib/python3/dist-packages/openpyxl/compat/numbers.py:41: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
BadZipFile: File is not a zip file


This gives the above error which results in an empty top2000.csv file

Kristof Bouckaert  Dec 16, 2021 
Printed Page 80
Shell function ("display") -- Command Not Found -- (Can't execute command right above Figure 5-1)

Command Line Tool "display" does not work on Docker Image

PHP not installed
Imagick not installed

I tried to use sudo apt-get to get PHP and Imagick installed on Docker Image.

I couldn't get my .png file to display as a result.

(The other command line tools and files work great. I was able to get the data file for fb.csv to work properly)

John Flores  May 29, 2023