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 datetime64's with
dataset/ETHPy150Open pydata/pandas/pandas/compat/numpy_compat.py/np_datetime64_compat