code: def get_raw_dataframe(
      name: str,
      user_count: int,
      item_count: int,
      size: int,
      min_rating: int,
      folder_path: Optional[str],
  ) -> pd.DataFrame:
      """
      Gets raw dataframe of both random and movielens
  
      Args:
          name (int): the random or movielens dataset name
          user_count (int): the random user count of the random set
          item_count (int): the random item count of the random set
          size (int): the random sample count of the random set
          min_rating (int): the minimum rating of the random set
          folder_path (Optional[str]): the path of the movielens dataset, None for random
  
      Returns:
          dataframe (pd.DataFrame): the raw dataframe
  
      """
      if name == "random":
          return _get_dataframe_random(
              user_count, item_count, size, min_rating
          )
      else:
          return _get_dataframe_movielens(
              name,
              Path(folder_path)
              if folder_path is not None
              else Path(name),
          )
  
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 3 for calling a global function with example usage: get_raw_dataframe(name, user_count, item_count, size, min_rating, folder_path) and returns: _get_dataframe_random, _get_dataframe_movielens