InvalidSeparatorError(separator)
Source¶
Bases: NumdaplotError
Raised when the separator of CsvReadOptions or CsvWriteOptions is empty or longer than one character.
Added in version 0.1.0
Parameters:
-
separator(str)The rejected separator.
Attributes:
-
separatorThe rejected separator.
Examples:
import numdaplot as ndp
try:
ndp.CsvReadOptions(separator=";;")
except ndp.InvalidSeparatorError as error:
print(error)
# Expected a separator of exactly one character, got ';;'.