machinelearning
machinelearning copied to clipboard
[DataFrame] Head should return min(DF length, param)
Problem
Given a DataFrame with 3 rows, calling Head(5) throws an error.

Suggested solution
Head should return the minimum of the number provided as a parameter and the length of a DataFrame