Combines multiple input datasets into a single, new output dataset. This tool can combine point, line, or polygon feature classes or tables. Show Use the Append tool to combine input datasets with an existing dataset. IllustrationUsage
Syntaxarcpy.management.Merge(inputs, output, {field_mappings}) ParameterExplanationData Type inputs [inputs,...] The input datasets that will be merged together into a new output dataset. Input datasets can be point, line, or polygon feature classes or tables. The input datasets must all be of the same type. Table View output The output dataset that will contain all combined input datasets. Feature Class;Table field_mappings (Optional) Controls how the attribute fields from the input datasets are mapped and transferred to the output dataset. You can add, rename, or delete output fields as well as set properties, such as data type and merge rule. Merge rules allow you to specify how values from two or more input fields are merged or combined into a single output value. There are several merge rules that determine how the output field is populated with values. |