lance.LanceDataset.checkout_version(version: int | str) LanceDataset

Load the given version of the dataset.

Unlike the dataset() constructor, this will re-use the current cache. This is a no-op if the dataset is already at the given version.

Parameters:
version : int | str,ΒΆ

The version to check out. A version number (int) or a tag (str) can be provided.

Return type:

LanceDataset