code: def upcast_to_float(df):
      for name in df.columns:
          if np.issubdtype(df[name].dtype, np.bool_):
              df[name] = df[name].astype(np.float32)
          elif np.issubdtype(df[name].dtype, np.integer):
              df[name] = df[name].astype(np.float64)
      return df
  
imports: from blazingsql import BlazingContext
  from blazingsql import DataType, S3EncryptionType
  import numpy
  import pandas
  import os
  import subprocess
  import sys
  from EndToEndTests import tpchQueries
label_desc: Use image node_id 10 for calling a global function with example usage: upcast_to_float(df) and returns: df