code: def floatify_series(ser: pd.Series):
      """Return a series that if the type is int converted to float.
  
      Parameters
      ----------
      ser : pd.Series
          series to convert
  
      Raises
      ------
      pd.Series
          the converted series
      """
      if is_integer_dtype(ser):
          ser = ser.astype(float)
      return ser
  
file_path: deepchecks/deepchecks/utils/dataframes.py
imports: import typing
  import numpy
  import pandas
  from pandas.core.dtypes.common import is_float_dtype, is_integer_dtype, is_numeric_dtype
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.utils.type_inference import infer_categorical_features
  from deepchecks.utils.typing import Hashable
  from deepchecks.utils.validation import ensure_hashable_or_mutable_sequence
label_desc: Use image node_id 4 for calling a global function with example usage: floatify_series(ser) and returns: ser