code: def test_datetime_erasure(features: np.ndarray):
      result = np_datetime_to_numeric(features)
      assert "datetime" not in str(
          pd.DataFrame(result).infer_objects().dtypes
      )
  
file_path: FEDOT/test/unit/data_operations/test_data_definition.py
imports: from datetime import datetime
  from typing import Union, Tuple, Optional
  import numpy
  import pandas
  import pytest
  import fedot.api.api_utils.data_definition
  from fedot.api.api_utils.data_definition import PandasStrategy, TupleStrategy, NumpyStrategy, StrategyDefineData
  from fedot.core.data.data import InputData
  from fedot.core.data.data import np_datetime_to_numeric
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 1 for calling a global function with example usage: test_datetime_erasure(features) without return types