code: def _obtain_new_column_type(column_info: pd.Series):
      """Suggest in or float type based on the presence of nan and float values"""
      if column_info[[_FLOAT_NUMBER, _NAN_NUMBER]].any():
          # Even if one of types are float - all elements should be converted into float
          return float
      # It is available to convert numerical into integer type
      return int
  
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 a global function with example usage: _obtain_new_column_type(column_info) and returns: int, float