code: def warn_duplicated_rows(df):
      message = None
      duplicated_rows = df.duplicated()
      duplicated_indices = (
          df.reset_index().index[duplicated_rows].tolist()
      )
      if len(duplicated_indices) > 0:
          message = f"TODO: There are {len(duplicated_indices)} duplicated rows "
          message += f"at rows ({duplicated_indices}) \n"
          message += "Please check the original file to make sure that is expected\n"
          message += (
              "If it is not, please add the argument --drop_duplicate"
          )
      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 11 for calling a global function with example usage: warn_duplicated_rows(df) and returns: message