Python for Data Science

Author: Yuli Vasiliev
Publisher: No Starch
Date: August 2022
Pages: 240
ISBN: 978-1718502208
Print: 1718502206
Kindle: B09BKLV68X
Audience: Python developers interested in data analysis
Rating: 3
Reviewer: Mike James
Python seems to be the goto for data science, so why not read about it?

Data science is a difficult concept to pin down. If you are interpreting it as classical statistics then this book will disapoint you. It is more about Python and using the standard Python data modules than it is about data.

It starts off with a chapter on the basics of data - unstructured v structured, time series and so on. It also discusses sources of data inluding web page scraping and databases. Chapter 2 introduces basic Python focussing mainly on Lists but following up with tuples, dictionaries and sets.

 

Chapter 3 is an introduction to NumPy and pandas via a simple example. The rest of the chapter is on scikit. Chapter 4 is about acquiring data - basic file handling, and the use of the requests library to access web pages. Chapter 5 covers similar ground but for databases - mainly MySQL with a bit of no-SQL. Chapter 6 continues the data manipulation theme with aggregating data and Chapter 7 goes on with combining datasets.

Chapter 8 breaks into a different topic with a look at visualization - basically how to use Matplotlib. This is such a big subject that it does no more than provide an introduction. Chapter 9 is sort of related to chapter 8 in that it is about location data and how to visualize it. Chapter 10 introduces very basic time series analysis - nowhere near enough to do anything but the most simple analysis.

Chapter 11 and 12 is where you might expect to find traditional stats but 11 is on gaining insights from data and is more about detecting associations. Chapter 12 is about machine learning and I don't think I've ever managed to cope with running a logistic regression being described as training. 

Verdict:

This is not a good book for a variety of reasons. It mostly fails to explain the ideas involved in what it is making use of. The explainations are nearly all in terms of the program that does the task under discussion. As a result this is more a book about Python and its libraries than it is about data science. At best it gives you some idea of what libraries there are to get a particular job done. It certainly doesn't give you enough of an idea of what these libraries can do and what can go wrong.  Many of the examples involve special knowledge and are likely to leave the reader wondering if they lack that knowledge. All of the programs are availalble on GitHub. From my point of view the biggest problem is the way standard statistical techques are simply ignored - often in favour of simply looking at the data.

There isn't enough in this book for many Python programmers to understand data science and there isn't enough for most data scientists to appreciate Python.

To keep up with our coverage of books for programmers, follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

Banner


WordPress Plugin Development, 2nd Ed

Author: Brad Williams, Justin Tadlock, John James Jacoby
Publisher: Wrox
Pages: 480
ISBN: 978-1119666943
Print: 1119666945
Kindle: B0899MW9CP
Audience: WordPress developers
Rating: 4.5
Reviewer: Kay Ewbank

The authors of this book are well-known in the WordPress world, with more than 100 published plug [ ... ]



The Art of WebAssembly

Author: Rick Battagline
Publisher: No Starch
Date: May 2021
Pages: 304
ISBN: 978-1718501447
Print: 1718501447
Kindle: B08TSYXJTS
Audience: WebAssembly developers
Rating: 5
Reviewer: Ian Elliot
WebAssembly is the coming thing - or so we are told.


More Reviews

Last Updated ( Wednesday, 13 March 2024 )