code: def insert_new_values_types(
      col: pd.Series, ratio_to_replace: float, values_list
  ):
      col = col.to_numpy().astype(object)
      indices_to_replace = np.random.choice(
          range(len(col)),
          int(len(col) * ratio_to_replace),
          replace=False,
      )
      new_values = np.random.choice(
          values_list, len(indices_to_replace)
      )
      col[indices_to_replace] = new_values
      return col
  
file_path: deepchecks/docs/source/checks/tabular/data_integrity/plot_mixed_data_types.py
imports: import numpy
  import pandas
  from deepchecks.tabular.datasets.classification import adult
  from deepchecks.tabular import Dataset
  from deepchecks.tabular.checks import MixedDataTypes
label_desc: Use image node_id 1 for calling a global function with example usage: insert_new_values_types(col, ratio_to_replace, values_list) and returns: col