Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


This repository contains all of the Python scripts, input files, and output files associated with the book, Foundations for Analytics with Python.

My Blog Post: Foundations for Analytics with Python

O'Reilly Media
Foundations for Analytics with Python

Foundations for Analytics with Python

Advance Praise
"This book is a useful learning resource for new Python programmers working with data. The tutorial style and accompanying exercises will help users get their feet wet with the Python language, programming environment, and a number of the most important packages in the ecosystem." - Wes McKinney, Creator of pandas library

"This is a must read book for anyone who feels limited by spreadsheets and wants to master the basics of coding and automation for business applications. This is also good primer on programmatic approaches to conducting the most common statistical methods, incluing correlations, t-tests, and regressions." - Rajiv Krishnamurthy, Manager, Infra Data Science, Facebook

"Foundations for Analytics with Python is an extremely well-written introduction to Python for analysts, giving clear and practical guidance for the new programmer. It connects principles and best-practices effectively, as if Mr. Brownley was sitting next to you, guiding you each step of the way." - Dean Abbott, Co-Founder and Chief Data Scientist at SmarterHQ

"Data analysis is an essential skill for the modern professional and Clinton's book is the perfect primer to move beyond the pre-defined tools into truly flexible analytics with real code. Even if you haven't written a single line of code before." - Chandika Jayasundara, CEO & Co-Founder, Creately

"Python is widely used for data analysis -- it is in fact one of the most popular tools/languages for data analysis and data science. Via this book, Clinton is adding to the field in a much needed manner: by teaching the reader to learn how to program as well as automate and scale their data analyses. Everyone today would be well served to learn to code and to apply programming to data analysis. This book serves exactly that purpose: it targets non-coders and teaches them fundamentals of Analytics using Python -- the tool of choice for data scientists today!" - Sameer Chopra, Chief Analytics Officer, GoDaddy

to download

Mac computer:

  1. Open a Terminal window
  2. Navigate to the folder where you want to download the foundations-for-analytics-with-python folder
        For example, to download the foundations-for-analytics-with-python folder onto your Desktop:
            First, type the following and then hit Enter: cd
            Second, type the following and then hit Enter: cd Desktop/
  3. Finally, to download the foundations-for-analytics-with-python folder, type the following and then hit Enter:
        git clone

Windows computer:

  1. Go to:
  2. Click 'Clone or download' and then 'Download ZIP' in the right side of the page
  3. Click on the zipped folder to open it in File Explorer
  4. Click 'Extract all'
  5. Edit the path to save the foundations-for-analytics-with-python folder on your Desktop
  6. Click 'Extract'


No description, website, or topics provided.






No releases published


No packages published