def get_closest_k_points(D, k):
    return sorted(D)[:k+1] 


###########################################
Return an iterator for one month. The iterator will yield datetime.date
dataset/ETHPy150Open bt3gl/Advanced-Machine-Learning/k-NN/kNN.py/get_closest_k_points--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/calendar.py/Calendar.itermonthdates