Pandas Data Manipulation: Filter, Transform, and Export DataFrames