code: def warn_completion_is_not_empty(df):
      message = None
      field = "completion"
      empty_rows = (df[field] == "") | (df[field].isnull())
      empty_indexes = df.reset_index().index[empty_rows].tolist()
      if len(empty_indexes) == len(df):
          message = "TODO: Note all completion fields are empty. This is possibly expected for inference but not for training"
      elif len(empty_indexes) != 0:
          message = f"""TODO: completion contains {len(empty_indexes)} empty values at rows ({empty_indexes})
                  Please check the original file that the fields for prompt template are 
                  not empty and rerun dataset validation"""
      return message
  
imports: import argparse
  import math
  import os
  import pathlib
  from collections import Counter
  import numpy
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: warn_completion_is_not_empty(df) and returns: message