class_docstr: Class for checking types in input data. Also perform conversion for columns with types conflicts
class_docstr_tok: ["Class","for","checking","types","in","input","data",".","Also","perform","conversion","for","columns","with","types","conflicts"]
docstr: Convert all elements in every target column into one type
  
  :param target: tabular target array
  :param task: task to solve
docstr_tok: ["Convert","all","elements","in","every","target","column","into","one","type",":","param","target",":","tabular","target","array",":","param","task",":","task","to","solve"]
code: def target_types_converting(
      self, target: np.ndarray, task: Task
  ) -> np.ndarray:
      """Convert all elements in every target column into one type
  
      :param target: tabular target array
      :param task: task to solve
      """
      mixed_types_columns = _find_mixed_types_columns(
          self.target_columns_info
      )
      cols_with_strings = _select_from_rows_if_any(
          mixed_types_columns, [_STR_NUMBER]
      )
      cols_with_strings.apply(
          self._convert_target_into_one_type, target=target, task=task
      )
  
      return target
  
imports: from __future__ import annotations
  from collections.abc import Sequence
  from typing import TYPE_CHECKING, Dict, List, Optional, Tuple
  import numpy
  import pandas
  from golem.core.log import LoggerAdapter, default_log
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 6 for calling the TableTypesCorrector obj's underlying member method code with example usage: obj.target_types_converting(target, task) and returns: target