Given a dataset, write a script using Pandas to clean missing values, group data by specific features, and output a structured dataframe.