code: def __init__(self, csvFile):
      self.__file = open(csvFile, "w")
      self.__writeLine(
          "Date Time",
          "Open",
          "High",
          "Low",
          "Close",
          "Volume",
          "Adj Close",
      )
  
file_path: pyalgotrade/pyalgotrade/tools/resample.py
imports: import os
  from pyalgotrade import dispatcher
  from pyalgotrade.dataseries import resampled
label_desc: Use image node_id 1 to create a new CSVFileWriter object from inherited base classes: object with example: obj = CSVFileWriter(csvFile)