code: def generate_output_texts(length=10, num_columns=1):
      task = Task(TaskTypesEnum.classification)
      data_type = DataTypesEnum.text
      features = all_features[:length]
      if num_columns > 1:
          features = np.hstack(
              [np.expand_dims(features, axis=-1)] * num_columns
          )
      idx = np.arange(0, length)
  
      return OutputData(
          idx,
          task,
          data_type,
          features=features,
          predict=features,
          target=None,
      )
  
file_path: FEDOT/test/unit/data/test_data_merge_text.py
imports: import numpy
  import pandas
  import pytest
  from fedot.core.data.data import OutputData
  from fedot.core.data.merge.data_merger import DataMerger
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 2 for calling a global function with example usage: generate_output_texts(length, num_columns) and returns: OutputData