def np_datetime64_compat(s, *args, **kwargs):
 if (not _np_version_under1p11):
  s = tz_replacer(s)
 return np.datetime64(s, *args, **kwargs)

def np_datetime64_compat ( s , * args , ** kwargs ) : if ( not _np_version_under1p11 ) : s = tz_replacer ( s ) return np . datetime64 ( s , * args , ** kwargs )
provide compat for construction of strings to numpy datetime64s with tz-changes in 1 .