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


Assembly x64 Programming

Author: Mike McGrath
Publisher: Easy Steps
Date: November 2021
Pages: 192
ISBN: 978-1840789522
Print: 1840789522
Kindle: ‎B09FTNN4P5
Audience: Developers wanting to learn assembler
Rating: 5
Reviewer: Harry Fairhead
Assembler, why would you want to learn that!



SQL Query Design Patterns and Best Practices

Author: Steve Hughes et al
Publisher: Packt Publishing
Pages: 270
ISBN: 978-1837633289
Print: 1837633282
Kindle: B0BWRD7HQ7
Audience: Query writers
Rating: 2.5
Reviewer: Ian Stirk

This book aims to improve your SQL queries using design patterns, how does it fare? 


More Reviews

Last Updated ( Wednesday, 13 March 2024 )