Skip to content

DatasetMissesDataError

Bases: ValueError

Raised when a dataset contains no rows.

Source code in src/safeds/exceptions/_ml.py
class DatasetMissesDataError(ValueError):
    """Raised when a dataset contains no rows."""

    def __init__(self) -> None:
        super().__init__("Dataset contains no rows")