Skip to content
C

Problem 3: Load Multiple CSV Files and Combine Them

Easypython

Problem Description

Write a Python program that loads two separate CSV files with the same column structure and combines them into a single DataFrame using pd.concat().

Input

Two CSV file paths with identical column structures.

Output

A single combined DataFrame containing all rows from both files.

Constraints

  • Both files must have exactly matching column names.

Example Input

text
"sales_jan.csv", "sales_feb.csv"

Example Output

text
Combined shape: (200, 4)

Concepts Covered

pd.read_csv(), pd.concat().

Input (stdin)

Output

Run your code to see output here...