This function create the levels for the data frame.
create_levels(df, no_sf)
df
no_sf
data frame.
A list