Getting familiar with your data

Although we would strongly discourage such behavior, you can build a model without knowing your data; it will most likely take you longer, and the quality of the resulting model might be less than optimal, but it is doable.

Note

In this section, we will use the dataset we downloaded from http://packages.revolutionanalytics.com/datasets/ccFraud.csv. We did not alter the dataset itself, but it was GZipped and uploaded to http://tomdrabas.com/data/LearningPySpark/ccFraud.csv.gz. Please download the file first and save it in the same folder that contains your notebook for this chapter.

The head of the dataset looks as follows:

Thus, any serious data scientist or data modeler will become acquainted with the dataset before ...

Get Learning PySpark now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.