Dinosaur CSV question: given dataset1.csv (NAME,LEG_LENGTH,DIET) and dataset2.csv (NAME,STRIDE_LENGTH,STANCE), process the data (prompt partly walled).
Asked in the video screen during the coding stage. Implement find_running_dinosaurs(dataset1, dataset2), where each argument is a list of dictionaries containing the corresponding CSV columns as strings. Join rows by NAME. A dinosaur can run only when STANCE is bipedal and its calculated speed is greater than 1.0:
speed = (STRIDE_LENGTH / LEG_LENGTH - 1) * sqrt(LEG_LENGTH * 9.8).
Return matching names in alphabetical order. For example, a bipedal dinosaur with leg length 2.5 and stride length 5.0 qualifies; a quadrupedal dinosaur does not.
def find_running_dinosaurs(dataset1, dataset2):