original_docstring: 
      Load Patient information from the csv file as a dataframe
      
docstring: Load Patient information from the csv file as a dataframe
docstring_tokens: Load Patient information from the csv file as a dataframe
code: def load_dataframe(csv_file, shuffle=False):
      """
      Load Patient information from the csv file as a dataframe
      """
      df = pd.read_csv(csv_file)
      if shuffle:
          df = df.sample(frac=1).reset_index(drop=True)
      # patient_data = df.to_dict("records")
      # return patient_data
      return df
code_tokens: def load_dataframe ( csv_file , shuffle = False ) : df = pd . read_csv ( csv_file ) if shuffle : df = df . sample ( frac = 1 ) . reset_index ( drop = True ) return df
short_docstring: Load Patient information from the csv file as a dataframe
short_docstring_tokens: Load Patient information from the csv file as a dataframe
comment: """
      Load Patient information from the csv file as a dataframe
      """$SEP$# patient_data = df.to_dict("records")$SEP$# return patient_data