Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
  • Loading branch information
ArslanSaleem and ellipsis-dev[bot] authored Dec 13, 2024
1 parent a6192ee commit 8c2cb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def load(dataset_path: str, virtualized=False) -> DataFrame:
"""
path_parts = dataset_path.split("/")
if len(path_parts) != 2:
raise ValueError("Path must be in format 'organization/dataset'")
raise ValueError("The path must be in the format 'organization/dataset'.")

global _dataset_loader
dataset_full_path = os.path.join(find_project_root(), "datasets", dataset_path)
Expand Down

0 comments on commit 8c2cb38

Please sign in to comment.