Bases:
Cleans up the input DataFrame and validates its structure.
df (pd.DataFrame) – Input data.
Cleaned and validated data.
pd.DataFrame