Lesson 2 clarification get_cv_idxs(n)

In lesson 2 there is a mention that calling get_cv_indxs(n) gives back 20% of the random dataset. However the return tyoe if this method is numpy.ndarray & the dimension is (2044,) How can we get back 100% instead of 20% by passing n and converting it to numpy.ndarray & dimension as (10222,)

The quick solution for this is to use the below code. val_pct accepts as input the percentage of data that you would like to use from the validation set, the default value of this val_pct is 0.2 (corresponds to 20%)
val_idxs = get_cv_idxs(n, val_pct=1.0)