class_docstr: Determines the ordinal day of the year from the given datetime
  
  Description:
      For a list of dates, return the ordinal day of the year
      from the given datetime.
  
  Examples:
      >>> from datetime import datetime
      >>> dates = [datetime(2019, 1, 1),
      ...          datetime(2020, 12, 31),
      ...          datetime(2020, 2, 28)]
      >>> dayOfYear = DayOfYear()
      >>> dayOfYear(dates).tolist()
      [1, 366, 59]
code: def get_function(self):
      def dayOfYear(vals):
          return vals.dt.dayofyear
  
      return dayOfYear
  
imports: from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime, Ordinal
  from featuretools.primitives.base import TransformPrimitive
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 1 for calling the DayOfYear obj's underlying member method code with example usage: obj.get_function() and returns: dayOfYear, vals