relevanceai.workflow.csv_to_dashboard#

A simple CSV to dashboard workflow

Module Contents#

relevanceai.workflow.csv_to_dashboard.df_to_dashboard(df: pandas.DataFrame, text_cols: list)#
relevanceai.workflow.csv_to_dashboard.text_csv_to_dashboard(csv_filename, text_cols: list, dataset_id: str, insertion_kwargs: Optional[dict] = None, text_encoder: Optional[dict] = None, vectorize_kwargs: Optional[dict] = None, cluster_model: Optional[str] = None, cluster_kwargs: Optional[dict] = None, token: Optional[str] = None)#

This CSV takes in a file with a simple text column and provides a baseline insights/analytics dashboard. This can then be iterated on and improved.

Parameters
  • csv_filename (str) – The CSV filename to insert

  • text_columns (list) – The list of text columns