docstr: Unit test check y 2
code: def test_check_y_2(self):
      """
      Unit test check y 2
      """
      x_init = pd.DataFrame(
          data=np.array([[1, 2], [3, 4]]), columns=["Col1", "Col2"]
      )
      y_pred = pd.DataFrame(data=np.array(["1", 0]), columns=["Y"])
      with self.assertRaises(ValueError):
          check_y(x_init, y_pred)
  
imports: import unittest
  import pytest
  import pandas
  import numpy
  import category_encoders
  from shapash.utils.check import check_preprocessing, check_model, check_label_dict, check_mask_params, check_y, check_contribution_object, check_preprocessing_options, check_postprocessing, check_consistency_model_features, check_consistency_model_label, check_additional_data
  from sklearn.compose import ColumnTransformer
  import sklearn.preprocessing
  import types
  import sklearn.ensemble
  import sklearn.svm
  import sklearn.linear_model
  import xgboost
  import lightgbm
  import catboost
label_desc: Use image node_id 11 for calling the TestCheck obj's underlying member method code with example usage: obj.test_check_y_2() without return types