code: def _get_dataframe_random(
      user_count: int = 50,
      item_count: int = 5000,
      size: int = 20000,
      min_rating: int = 2,
  ) -> pd.DataFrame:
      uids = [random.choice(range(user_count)) for i in range(size)]
      sids = [random.choice(range(item_count)) for i in range(size)]
      ratings = [min_rating] * size
      timestamps = list(range(0, size))
      df = {
          "uid": uids,
          "sid": sids,
          "rating": ratings,
          "timestamp": timestamps,
      }
      return pd.DataFrame(df)
  
imports: import random
  from collections import Counter
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: _get_dataframe_random(user_count, item_count, size, min_rating) and returns: pd