nerdexam
CompTIA

DA0-001 · Question #509

An analyst is combining two files to create one data set. The first file contains data about schools. The second file contains data about factories. Both files have the following structure: Which of t

The correct answer is A. Append. Appending (also called a union) stacks rows from two datasets that share the same structure (same columns) into a single table. Since both files have identical structures but different subject matter, appending adds the factory rows below the school rows. Merge (D) joins datasets

Data Analysis

Question

An analyst is combining two files to create one data set. The first file contains data about schools. The second file contains data about factories. Both files have the following structure:

Which of the following techniques will help the analyst complete the task?

Options

  • AAppend
  • BTranspose
  • CConcatenate
  • DMerge

How the community answered

(42 responses)
  • A
    88% (37)
  • B
    2% (1)
  • C
    7% (3)
  • D
    2% (1)

Explanation

Appending (also called a union) stacks rows from two datasets that share the same structure (same columns) into a single table. Since both files have identical structures but different subject matter, appending adds the factory rows below the school rows. Merge (D) joins datasets horizontally based on a common key column - appropriate when datasets have related but different columns. Concatenate (C) in many contexts is synonymous with append, but in this exam's framing, Append is the precise data preparation term. Transpose (B) converts rows to columns (or vice versa), which is unrelated to combining two files.

Topics

#data integration#data manipulation#append operation#data preparation

Community Discussion

No community discussion yet for this question.

Full DA0-001 Practice