def _pd_to_text(
      self,
      data: pd.DataFrame,
  ) -> Sequence[str]:
    """Formats a dataframe into list of strings.

    Args:
      data: the dataframe to process

    Returns:
      A list of strings, one for each memory
    """
    if data.empty:
      return []
    output = data['text']

    return output.tolist()
Formats a dataframe into list of strings.

    Args:
      data: the dataframe to process

    Returns:
      A list of strings, one for each memory
    
concordia/associative_memory/basic_associative_memory.py