Extracting Data Subsets and Design By Composition

The request was murky. It evolved over time to this:

Create a function file_record_selection(train.csv, 2, 100, train_2_100.csv)

First parameter: input file name (train.csv)

Second parameter: first record to include (2)

Third parameter: last record to include (100)

Fourth parameter: output file name (train_2_100.csv)

Fundamentally, this …

more ...