def clean_data(
        df
):
    """Sort by date and drop NA values."""
    # sort by date
    df_clean = df.sort_values(by='Date').reset_index(drop=True)
    # drop NaN
    df_clean = df_clean.dropna()

    return df_clean