code: def process_number_features(df, categorical_features):
      for i, column in enumerate(df.columns):
          if i not in categorical_features:
              df[column].astype(float, copy=False)
      return df
  
imports: import os
  from typing import Optional
  import pandas
  from ludwig.datasets.dataset_config import DatasetConfig
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
label_desc: Use image node_id 2 for calling a global function with example usage: process_number_features(df, categorical_features) and returns: df