gluonts.dataset.jsonl module¶
-
class
gluonts.dataset.jsonl.
JsonLinesFile
(path: pathlib.Path, cache: bool = False)[source]¶ Bases:
object
An iterable type that draws from a JSON Lines file.
- Parameters
path – Path of the file to load data from. This should be a valid JSON Lines file.
-
class
gluonts.dataset.jsonl.
Line
(content, span)[source]¶ Bases:
tuple
-
property
content
¶ Alias for field number 0
-
property
span
¶ Alias for field number 1
-
property