This is the companion repository for the Data Analysis with Python and PySpark book (Manning, 2022). It contains the source code and data download scripts, when pertinent.
With Databricks offering free access of most important functionalities, you can now avoid installing (and paying) for your own version. I've created a notebook/file you can use to get all the data in tables and volumes. Five minutes and you're ready to work through the code examples, no fuss!
Just clone the repository in databricks and open the data download notebook.
The complete data set for the book hovers at around ~1GB. Because of this, I
moved the data sources to another repository to
avoid cloning a gigantic repository just to get the code. The book assumes the data is under
./data
.
If you encounter mistakes in the book manuscript (including the printed source code), please use the Manning platform to provide feedback.