Defines options for how column headers are processed when reading data from files to create a dataset. These enumeration values are used in the Dataset class method.

promote_headers_behavior(option)

Arguments

option

An integer corresponding to an option for how column headers are to be processed

  • 0: NO_HEADERS No column headers are read

  • 1: ONLY_FIRST_FILE_HAS_HEADERS Read headers only from first row of first file, everything else is data.

  • 2: COMBINE_ALL_FILES_HEADERS Read headers from first row of each file, combining identically named columns.

  • 3: ALL_FILES_HAVE_SAME_HEADERS Read headers from first row of first file, drops first row from other files.

Value

The PromoteHeadersBehavior object.