March 2019
Beginner to intermediate
464 pages
10h 57m
English
Before we can start building clustering models, there are five tasks we need to do to clean up our data and prepare it for modeling. The clean-up steps are as follows:
df = df.loc[df['Quantity'] > 0]
df = df[pd.notnull(df['CustomerID'])]
df = df.loc[df['InvoiceDate'] < '2011-12-01']
Read now
Unlock full access