Skip to content

Commit

Permalink
Update src/safeds/data/tabular/containers/_table.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-senger authored May 12, 2023
1 parent f98b3af commit f62e803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/safeds/data/tabular/containers/_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ def split(self, percentage_in_first: float) -> tuple[Table, Table]:
Raises
------
OutOfBoundsError
If the given percentage is smaller than 0 or larger than 1.
If the given percentage is smaller than or equal to 0 or larger than or equal to 1.
"""
if percentage_in_first <= 0 or percentage_in_first >= 1:
raise OutOfBoundsError(percentage_in_first, 0, 1)
Expand Down

0 comments on commit f62e803

Please sign in to comment.