code: def _get_map_output_types(cls, input_chunk, method: str):
      if method in ("tree", "subset_tree"):
          return [OutputType.dataframe]
      else:
          return input_chunk.op.output_types
  
imports: import numpy
  from ...None import opcodes
  from ...core import OutputType
  from ...core.operand import OperandStage
  from ..utils import gen_unknown_index_value, hash_dataframe_on
  from ._duplicate import DuplicateOperand, validate_subset
label_desc: Use image node_id 5 for calling the DataFrameDuplicated obj's underlying member method code with example usage: obj._get_map_output_types(cls, input_chunk, method) and returns: list, input_chunk