Given a raw CSV dataset, write a Pandas script to clean missing values, normalize timestamps, and aggregate transactions by user.
Implement clean_and_aggregate(csv_text), where csv_text contains user_id, amount, and timestamp columns. Ignore rows with missing or invalid required values, trim user IDs, interpret naive timestamps as UTC, convert timezone-aware timestamps to UTC, and return sorted user summaries containing transaction count, total amount, earliest timestamp, and latest timestamp.
csv_text contains a header with user_id, amount, and timestamp columns.Z.user_id.def clean_and_aggregate(csv_text):