Data science happens in code. The ability to write reproducible, robust, scaleable code is key to a data science project's success—and is absolutely essential for those working with production code. This practical book bridges the gap between data science and software engineering, and clearly explains how to apply the best practices from software engineering to data science. Examples are provided in Python, drawn from popular packages such as NumPy and pandas. If you want to write better data science code, this guide covers the essential topics that are often missing from introductory data science or coding classes.

Browse the chapters to quickly get to know the structure and content of the book.
By browsing the chapters of this book you can quickly see what each part teaches, how the whole is structured and where to start. Each chapter focuses on one concept or skill, and you see its main topics so your choice is more informed. Whether you follow the whole book or just one part, this view helps you find your way.

What Is Good Code?

Analyzing Code Performance

Using Data Structures Effectively

Object-Oriented Programming and Functional Programming

Errors, Logging, and Debugging

Code Formatting, Linting, and Type Checking

Testing Your Code

Design and Refactoring

Documentation

Sharing Your Code: Version Control, Dependencies, and Packaging

APIs

Automation and Deployment

Security

Working in Software

Next Steps
15 chapters in production
Reading time
06:22
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026