relevanceai.dataset.io.export.pandas#

Module Contents#

class relevanceai.dataset.io.export.pandas.PandasExport(credentials: relevanceai.client.helpers.Credentials, dataset_id: str, fields: Optional[list] = None, image_fields: Optional[List[str]] = None, audio_fields: Optional[List[str]] = None, text_fields: Optional[List[str]] = None, highlight_fields: Optional[Dict[str, list]] = None, **kwargs)#

A Pandas Like datatset API for interacting with the RelevanceAI python package

to_pandas_dataframe#
to_df(self, **kwargs) pandas.DataFrame#

Converts a Relevance AI Dataset to a pandas DataFrame.

Parameters

kwargs (Optional) – see client.get_all_documents() for extra args

Example