Describe the process of performing cross-validation as part of model fitting in a machine learning pipeline. Include details on how to implement this in a code snippet using Python and the scikit-learn library, and explain the benefits of integrating cross-validation into the pipeline. | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz