This repository contains all code examples, datasets, and exercises from the textbook "From Data to AI: Foundations of Ethical Data Management."
This textbook is designed for college freshmen with no prior programming experience. All code is written in Python and includes detailed comments to help you learn.
- 📁 Chapter x/ - All code examples from each chapter
- 📁 Chapter x/exercises/ - Starter code for end-of-chapter exercises
- 📁 Chapter x/data/ - Sample data sets used in chapters that use data sets
- Clone or download this repository
- Each chapter's code is in its own folder with a README file
- Python 3.13 or higher
- Libraries: pandas, requests, matplotlib, seaborn (full list in requirements.txt)
Book Content (PDF, text, figures)
The textbook From Data to AI: Foundations of Ethical Data Management is licensed under a
Creative Commons Attribution 4.0 International License (CC BY 4.0).
This applies to the e-book PDF and all written content.
Code, Exercises, and Datasets
All code examples, exercises, and datasets in this repository are licensed under the MIT License. This means you are free to use, modify, and redistribute them in your own projects, provided the MIT license notice is included.
This textbook covers the complete data lifecycle from collection through AI interaction, with an emphasis on ethical data stewardship and practical, hands-on learning.
The print version of the textbook is available on Amazon in either paperback or hard cover for a low cost.