data_subset = [car_data[i] for i in range(1000)] #List comp, that loops through a certain list (car_data) #in range of a 1000 times