# Split the data into training and test set before doing more in-depth visualization from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=42)
# Split the data into training and test set before doing more in-depth visualization from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=42)