code: def test_data_type_consistency(self):
      X = np.random.rand(3, 4)
      Y = NumericalPreprocessingPipeline(
          feat_type={0: "numerical", 1: "numerical", 2: "numerical"}
      ).fit_transform(X)
      self.assertFalse(sparse.issparse(Y))
  
      X = sparse.csc_matrix(
          ([3.0, 6.0, 4.0, 5.0], ([0, 1, 2, 1], [3, 2, 1, 0])),
          shape=(3, 4),
      )
      Y = NumericalPreprocessingPipeline(
          feat_type={0: "numerical", 1: "numerical", 2: "numerical"}
      ).fit_transform(X)
      self.assertTrue(sparse.issparse(Y))
  
file_path: auto-sklearn/test/test_pipeline/components/data_preprocessing/test_data_preprocessing_numerical.py
imports: import numpy
  from scipy import sparse
  from autosklearn.pipeline.components.data_preprocessing.feature_type_numerical import NumericalPreprocessingPipeline
  import unittest
label_desc: Use image node_id 1 for calling the NumericalPreprocessingPipelineTest obj's underlying member method code with example usage: obj.test_data_type_consistency() without return types