Work with datasets
How to create, upload and manage Datasets.
You must first connect to Evidently Cloud and create a Project.
Upload a Dataset
Prepare your dataset as a Pandas DataFrame. To upload a dataframe df
to the specified Project in workspace ws
, use the add_dataset
method:
You must always specify the dataset name
that you will see in the UI. The description is optional.
Download the Dataset
You can pull the Dataset stored or generated on the platform to your local environment. For example, call the evaluation or tracing dataset to use in a CI/CD testing script.
Use the load_dataset
method:
Include the Dataset
You can include Datasets when you upload Reports to the platform. This way, after running an evaluation locally you simultaneously upload:
-
the Report with evaluation result,
-
the Dataset it was generated for, with new added scores if applicable.
By default, you upload only the Report.
To include the Dataset, use the include_data
parameter:
Check the docs on running evals via API for details.