code: def __init__(
      self,
      method=None,
      method_args=None,
      method_kwargs=None,
      is_property=None,
      output_types=None,
      **kw,
  ):
      super().__init__(
          _method=method,
          _method_args=method_args,
          _method_kwargs=method_kwargs,
          _is_property=is_property,
          _output_types=output_types,
          **kw,
      )
      if not self.output_types:
          self.output_types = [OutputType.series]
  
imports: import pandas
  from ...None import opcodes
  from ...core import OutputType
  from ...serialization.serializables import KeyField, StringField, TupleField, DictField, BoolField
  from ..operands import DataFrameOperand, DataFrameOperandMixin
  from ..utils import build_empty_series
label_desc: Use image node_id 1 to create a new SeriesDatetimeMethod object from inherited base classes: DataFrameOperand, DataFrameOperandMixin with example: obj = SeriesDatetimeMethod(method, method_args, method_kwargs, is_property, output_types)