def _try_timestamp(x):
    try:
        ts = pd.Timestamp(x)
        return ts.to_pydatetime()
    except (ValueError, __HOLE__):
        return x
dataset/ETHPy150Open cloudera/ibis/ibis/impala/metadata.py/_try_timestamp