import pandas as pd
import numpy as np
import random
np.random.seed(123)
random.seed(123)
no_samples = 10000

seasons = np.random.choice(['winter', 'spring', 'summer', 'fall'], size=(no_samples,))
color = np.array(
    [
        random.choice(['yellow', 'pink'])
        if season in ['spring', 'summer']
        else random.choice(['navy', 'grey'])
        for season in seasons
    ]
)
price = np.random.lognormal(size=(no_samples,))
rank = np.array(
    [
        
    ]
)
seasons
array(['fall', 'spring', 'spring', ..., 'spring', 'spring', 'spring'],
      dtype='<U6')