code: def convert_to_fp64(X):
      if isinstance(X, pd.DataFrame):
          X = X.astype(
              {
                  col: np.float64
                  for col in X.columns
                  if X.dtypes[col] in (np.float32, np.float16)
              }
          )
      elif X.dtype == np.float32:
          X = X.astype(np.float64)
      return X
  
imports: import numpy
  import pandas
  from pyod.models.cblof import CBLOF
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_fp64(X) and returns: X