def get_seasons(df):
    """
    Changes months into season

    Parameters
    ----------
    df : dataframe
        the forest fire dataframe 

    Returns
    -------
    Array
       Seasons the months are associated with
    """

    seasons = ["NONE"] * len(df)
    for x in range(0, len(df)):
        m = df.loc[x, "month"]
        if m in ["dec", "jan", "feb"]:
            seasons[x] = "winter"
        elif m in ["mar", "apr", "may"]:
            seasons[x] = "spring"
        elif m in ["jun", "jul", "aug"]:
            seasons[x] = "summer"
        elif m in ["sep", "oct", "nov"]:
            seasons[x] = "fall"
    return seasons