import csv
import os

files = [f for f in os.listdir('sample_data') if f.endswith('.csv')]
print('CSV files:', files)
print()

for filename in files:
    print(f"=== Examining {filename} ===")
    with open(f'sample_data/{filename}', 'r', encoding='utf-8') as f:
        reader = csv.reader(f)
        for i, row in enumerate(reader):
            print(f'Row {i}: {row[:10]}')  # Print first 10 columns
            if i == 5:  # Print first 6 rows
                break
    print()