Contents:
Rectify data frame for format integrity
df (DataFrame) – Data frame to be rectified
DataFrame
rectified_df – Rectified data frame