Skip to main content

Pull a dataset by name

Optionally load a specific version number:
If the dataset defines named subsets, you can pull one directly:

Iterate over rows

Rows are yielded as DotDict objects, so both key and dot access are possible.

Index and slice

  • dataset[idx] returns a single row (DotDict)
  • dataset[start:end] returns a new Dataset with copied rows
Sliced datasets preserve backend metadata (dataset id/version/subset) when available, so they can still be evaluated and pushed in normal workflows.

Access columns and normalized data

Minimal versioning example

Common loading errors

Dataset.pull(...) requires a valid ZeroEval initialization.
Confirm dataset name and project context (API key/org mapping). Pull uses the project resolved from your API credentials.