Types¶
NestedStr = bytes | str | Sequence['NestedStr']
module-attribute
¶
A single string/bytes value or any nesting of sequences thereof.
PathLike = str | Path
module-attribute
¶
A file-system path accepted as either a plain string or a pathlib.Path.
SeqType = StrSeqType | NDArray[np.uint8]
module-attribute
¶
Any sequence input accepted by SeqPro functions: strings, nested lists, string/bytes arrays, or OHE uint8 arrays.
StrSeqType = NestedStr | NDArray[np.str_ | np.object_ | np.bytes_]
module-attribute
¶
Any string sequence input: scalars, nested lists, or string/bytes arrays. Excludes OHE.