Book Image

Practical Data Science with Python

By : Nathan George
Book Image

Practical Data Science with Python

By: Nathan George

Overview of this book

Practical Data Science with Python teaches you core data science concepts, with real-world and realistic examples, and strengthens your grip on the basic as well as advanced principles of data preparation and storage, statistics, probability theory, machine learning, and Python programming, helping you build a solid foundation to gain proficiency in data science. The book starts with an overview of basic Python skills and then introduces foundational data science techniques, followed by a thorough explanation of the Python code needed to execute the techniques. You'll understand the code by working through the examples. The code has been broken down into small chunks (a few lines or a function at a time) to enable thorough discussion. As you progress, you will learn how to perform data analysis while exploring the functionalities of key data science Python packages, including pandas, SciPy, and scikit-learn. Finally, the book covers ethics and privacy concerns in data science and suggests resources for improving data science skills, as well as ways to stay up to date on new data science developments. By the end of the book, you should be able to comfortably use Python for basic data science projects and should have the skills to execute the data science process on any data source.
Table of Contents (30 chapters)
1
Part I - An Introduction and the Basics
4
Part II - Dealing with Data
10
Part III - Statistics for Data Science
13
Part IV - Machine Learning
21
Part V - Text Analysis and Reporting
24
Part VI - Wrapping Up
28
Other Books You May Enjoy
29
Index

Preface

"Better than any statistician at computer science and better at statistics than any computer scientist" – this is a phrase I've heard said about data scientists since I started my official data science training. It might be true, but data science has grown to incorporate so many different fields and technologies that it might not be able to be captured with such a simple statement anymore. Not to mention that statistics, and especially computer science, cover a lot of ground, too. But as a quick-and-dirty way to describe data science in three words, "statistics + computer science" works.

Many people learn data science to improve their lives. For me, I wanted to transition out of the physical sciences, which are bound by physical locations, and have more freedom to travel around the world. Working in a digital space like data science allows for that, while high-tech manufacturing doesn't. For others, the increase in pay is alluring. For many of us, we see the stories about data scientists being happy and highly paid and are immediately interested in learning more. Some people learn data science due to their intellectual curiosity and the fun of it. In any case, if you want to be a data scientist, you'd better enjoy working with computers and data!

I wrote this book for a few reasons, and one good reason to create teaching materials or even teach courses is you will learn the materials better by teaching it. So, one thing I'd recommend doing if you want to really learn is to create some teaching materials. An easy way to do this is to write a blog post about using data science to solve a problem. It could be any dataset from Kaggle, for example, or some data you've got access to and are allowed to share.

In the book, we use Python to carry out data science. However, there are a plethora of tools for doing data science, so don't feel like Python is the only way. There is a debate among data scientists whether or not a data scientist must be able to program. On the one hand, being able to code enables us to use cutting-edge tools and integrate into other software products more easily.

On the other hand, not all data science work is the same, and some doesn't have to be done with code. Many people doing data science use R and other tools (such as GUIs) to carry out their work. However, Python seems to be the top choice and integrates nicely into software stacks at companies. Python, like any other skill, requires practice and dedication to master. This book is here to get you started, and I hope you have fun learning Python and data science and are excited to continue your data science journey well beyond this book.