class_docstr: Description of base analysis module of report.
  Overall info about report.
  
  Attributes
      title (str): Title of report.
      date_start (Union[datetime, List[datetime]]): Start of generating description.
      date_end (Union[datetime, List[datetime]]): End of generating description.
code: def duration(self) -> Union[timedelta, List[timedelta]]:
      if isinstance(self.date_start, datetime) and isinstance(
          self.date_end, datetime
      ):
          return self.date_end - self.date_start
      if isinstance(self.date_start, list) and isinstance(
          self.date_end, list
      ):
          return [
              self.date_end[i] - self.date_start[i]
              for i in range(len(self.date_start))
          ]
      else:
          raise ValueError()
  
file_path: ydata-profiling/src/ydata_profiling/model/description.py
imports: from dataclasses import dataclass
  from datetime import datetime, timedelta
  from typing import Any, Dict, List, Optional, Union
  from pandas import Timedelta
label_desc: Use image node_id 2 for calling the BaseAnalysis obj's underlying member method code with example usage: obj.duration() and returns: unknown, unknown