Let's start with a full end-to-end example demonstrating the topics and strategies covered in the rest of the book. Subsequent chapters will go into further detail on each part of the analytical process. I suggest that you read through this example fully before moving on in the book.
An end-to-end example of data mining in Python
Loading data into memory – viewing and managing with ease using pandas
First, we will need to load data into memory so that Python can interact with it. Pandas will be our data management and manipulation library:
# load data into Pandas
import pandas as pd
df = pd.read_csv("./data/iris.csv")
Let's use some built-in pandas features to do sanity checks on our data load and...