Skip to main content

DB_Table.use_first_row_as_names

use_first_row_as_nameson_problems

Group: Metadata
Aliases: rename

Documentation

Returns a new table with the columns renamed based on entries in the first row.

The following problems can occur: - If any of the new names are invalid, an Invalid_Column_Names. - If any of the new names clash either with existing names or each other, a Duplicate_Output_Column_Names.

Arguments

  • on_problems: Specifies how to handle problems if they occur, reporting them as warnings by default.

Examples

Rename the column based on the first row

       table.use_first_row_as_names