Introduction Data preparation is the process of transforming raw data into a format that is…