def _try_convert_to_date(self, data):
<EOL>if not len(data):<EOL><INDENT>return data, False<EOL><DEDENT>new_data = data<EOL>if new_data.dtype == '<STR_LIT:object>':<EOL><INDENT>try:<EOL><INDENT>new_data = data.astype('<STR_LIT>')<EOL><DEDENT>except (TypeError, ValueError, OverflowError):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>if issubclass(new_data.dtype.type, np.number):<EOL><INDENT>in_range = (isna(new_data.values) | (new_data > self.min_stamp) |<EOL>(new_data.values == iNaT))<EOL>if not in_range.all():<EOL><INDENT>return data, False<EOL><DEDENT><DEDENT>date_units = (self.date_unit,) if self.date_unit else self._STAMP_UNITS<EOL>for date_unit in date_units:<EOL><INDENT>try:<EOL><INDENT>new_data = to_datetime(new_data, errors='<STR_LIT>',<EOL>unit=date_unit)<EOL><DEDENT>except ValueError:<EOL><INDENT>continue<EOL><DEDENT>except Exception:<EOL><INDENT>break<EOL><DEDENT>return new_data, True<EOL><DEDENT>return data, False<EOL>
Try to parse a ndarray like into a date column.

Try to coerce object in epoch/iso formats and integer/float in epoch
formats. Return a boolean if parsing was successful.