code: def np_datetime64_compat(s, *args, **kwargs):
      """
      provide compat for construction of strings to numpy datetime64's with
      tz-changes in 1.11 that make '2015-01-01 09:00:00Z' show a deprecation
      warning, when need to pass '2015-01-01 09:00:00'
      """
      s = tz_replacer(s)
      return np.datetime64(s, *args, **kwargs)
  
imports: import re
  import numpy
  from distutils.version import LooseVersion
  from pandas.compat import string_types, string_and_binary_types
label_desc: Use image node_id 2 for calling a global function with example usage: np_datetime64_compat(s) and returns: np