I want to add a new column to the dataframe that will create a unique random number between 15 and 33.
i have tried this:
import random
df[new_col] = random.randint(15,33)
The problem with this code is that it creates one random number and distribute in all the columns, whereas I want each row to have its unique random number.
I think I should use a for loop but kinda don't know how to start.