code: def test_transform_day_of_week(self):
      transformer = lore.transformers.DateTime("test", "dayofweek")
      data = pandas.DataFrame(
          {
              "test": [
                  datetime.datetime(2016, 12, 31),
                  datetime.date(2017, 1, 1),
              ]
          }
      )
      transformed = transformer.transform(data)
      self.assertEqual(transformed.iloc[0] + 1, transformed.iloc[1])
  
imports: import unittest
  import datetime
  import math
  import numpy
  import pandas
  import lore.transformers
label_desc: Use image node_id 1 for calling the TestDateTime obj's underlying member method code with example usage: obj.test_transform_day_of_week() without return types