code: def test_correct_target_multiclass(requests_mock: Mocker):
      url = "https://some.fake.url"
      mock_default_requests(requests_mock, url)
  
      tds = pd.DataFrame(
          {
              "date": [date(2020, 1, 1)] * 10,
              "target": [
                  "1",
                  "2",
                  "1",
                  "2",
                  "3",
                  "single non numeric",
                  "5",
                  "6",
                  "non numeric",
                  "non numeric",
              ],
          }
      )
      enricher = FeaturesEnricher(
          search_keys={"date": SearchKey.DATE},
          endpoint=url,
          logs_enabled=False,
      )
      handled = enricher._FeaturesEnricher__correct_target(tds)  # type: ignore
      print(handled)
      expected = pd.DataFrame(
          {
              "date": [date(2020, 1, 1)] * 10,
              "target": [
                  "1",
                  "2",
                  "1",
                  "2",
                  np.nan,
                  np.nan,
                  np.nan,
                  np.nan,
                  "non numeric",
                  "non numeric",
              ],
          }
      )
      assert_frame_equal(handled, expected)
  
imports: import os
  from datetime import date
  from typing import List, Optional
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from requests_mock.mocker import Mocker
  from upgini import FeaturesEnricher, SearchKey
  from upgini.dataset import Dataset
  from upgini.errors import ValidationError
  from upgini.http import _RestClient
  from upgini.metadata import CVType, FeaturesMetadataV2, HitRateMetrics, ModelEvalSet, ModelTaskType, ProviderTaskMetadataV2, RuntimeParameters
  from upgini.resource_bundle import bundle
  from upgini.search_task import SearchTask
  from upgini.utils.datetime_utils import DateTimeSearchKeyConverter
  from .utils import mock_default_requests, mock_get_metadata, mock_get_task_metadata_v2, mock_initial_and_validation_summary, mock_initial_progress, mock_initial_search, mock_initial_summary, mock_raw_features, mock_validation_progress, mock_validation_raw_features, mock_validation_search, mock_validation_summary
label_desc: Use image node_id 20 for calling a global function with example usage: test_correct_target_multiclass(requests_mock) without return types