The "My Code Is Precious To Me" Conundrum

I suspect some people sweat so hard over each line of code that it becomes precious. Valuable. An investment wrung from their very soul. Or something. When they ask for comments, it becomes difficult. The Pull Request context can be challenging. There the code is, beaten into submission after Herculean …

more ...


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 ...