code: def df_categorical_column(category_values, num_rows=100, probabilities=None):
      
      splitter = np.random.choice(range(len(category_values)), num_rows, p=probabilities)
      return pd.Series(pd.Categorical.from_codes(splitter, categories=category_values))
docs: Generate a categorical column with random data
          Args:
              category_values (list): A list of category values (e.g. ['red', 'blue', 'green'])
              num_rows (int): The number of rows to generate  (default = 100)
              probabilities (list): A list of probabilities of each value (e.g. [0.6, 0.2, 0.2]) (default=None  an equal probability)