Data science is an interdisciplinary field that uses scientific methods, procedures, algorithms, and…