code: def test_datetime_scalar_from_string(data, dtype):
      slr = cudf.Scalar(data, dtype)
  
      expected = np.datetime64(datetime.datetime(2000, 1, 1)).astype(
          dtype
      )
  
      assert expected == slr.value
  
imports: import datetime
  import re
  from decimal import Decimal
  import numpy
  import pandas
  import pyarrow
  import pytest
  import rmm
  import cudf
  from cudf._lib.copying import get_element
  from cudf.testing._utils import ALL_TYPES, DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES
label_desc: Use image node_id 18 for calling a global function with example usage: test_datetime_scalar_from_string(data, dtype) without return types