Finish the map section of the data preprocess step