O’Reilly Media, 2024. — 400 p. — ISBN 978-1-098-13620-8.
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.
All the code examples in this book are written in Python, and many of the chapters describe Python-specific tools. In recent years, Python has become the most popular programming language for Data Science. Python has an extremely solid set of open source libraries for data science, with good backing and a healthy community of maintainers. Large trend-setting companies have chosen Python for their main ML frameworks, including TensorFlow (Google) and PyTorch (Meta). Because of this, Python appears to be especially popular among data scientists working on production machine learning code, where good coding skills are particularly important. In my experience, the Python community has been friendly and welcoming, with many excellent events that have helped me improve my skills. It’s my preferred programming language, so it was an easy choice for this book.
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, including how to:
Understand data structures and object-oriented programming
Clearly and skillfully document your code
Package and share your code
Integrate data science code with a larger code base
Learn how to write APIs
Create secure code
Apply best practices to common tasks such as testing, error handling, and logging
Work more effectively with software engineers
Write more efficient, maintainable, and robust code in Python
Put your data science projects into production
And more
True PDF