class_docstr: Represents a Dataset Format that is used when calling a DefaultModelMonitor.
class_docstr_tok: ["Represents","a","Dataset","Format","that","is","used","when","calling","a","DefaultModelMonitor","."]
docstr: Returns a DatasetFormat JSON string for use with a DefaultModelMonitor.
  
  Args:
      header (bool): Whether the csv dataset to baseline and monitor has a header.
          Default: True.
      output_columns_position (str): The position of the output columns.
          Must be one of ("START", "END"). Default: "START".
  
  Returns:
      dict: JSON string containing DatasetFormat to be used by DefaultModelMonitor.
docstr_tok: ["Returns","a","DatasetFormat","JSON","string","for","use","with","a","DefaultModelMonitor",".","Args",":","header","(","bool",")",":","Whether","the","csv","dataset","to","baseline","and","monitor","has","a","header",".","Default",":","True",".","output_columns_position","(","str",")",":","The","position","of","the","output","columns",".","Must","be","one","of","(","``","START","''",",","``","END","''",")",".","Default",":","``","START","''",".","Returns",":","dict",":","JSON","string","containing","DatasetFormat","to","be","used","by","DefaultModelMonitor","."]
code: def csv(header=True, output_columns_position="START"):
      """Returns a DatasetFormat JSON string for use with a DefaultModelMonitor.
  
      Args:
          header (bool): Whether the csv dataset to baseline and monitor has a header.
              Default: True.
          output_columns_position (str): The position of the output columns.
              Must be one of ("START", "END"). Default: "START".
  
      Returns:
          dict: JSON string containing DatasetFormat to be used by DefaultModelMonitor.
  
      """
      return {
          "csv": {
              "header": header,
              "output_columns_position": output_columns_position,
          }
      }
  
file_path: sagemaker-python-sdk/src/sagemaker/model_monitor/dataset_format.py
imports: from __future__ import print_function, absolute_import
label_desc: Use image node_id 1 for calling the DatasetFormat obj's underlying member method code with example usage: obj.csv(header, output_columns_position) and returns: dict