class_docstr: Create a PyTorch dataset of a tabularized time-series
class_docstr_tok: ["Create","a","PyTorch","dataset","of","a","tabularized","time-series"]
docstr: Overrides Parent class method to get data length.
docstr_tok: ["Overrides","Parent","class","method","to","get","data","length","."]
code: def __len__(self):
      """Overrides Parent class method to get data length."""
      return self.length
  
imports: import logging
  from collections import OrderedDict, defaultdict
  from datetime import datetime
  from typing import Optional
  import numpy
  import pandas
  import torch
  from torch.utils.data.dataset import Dataset
  from neuralprophet import configure, utils
  from neuralprophet.df_utils import get_max_num_lags
  from neuralprophet.hdays_utils import get_country_holidays
label_desc: Use image node_id 7 for calling the TimeDataset obj's underlying member method code with example usage: obj.__len__() and returns: self