docstr: 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.
docstr_tok: ["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","."]
code: def _try_convert_to_date(self, data):
      """
      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.
      """
  
      # no conversion on empty
      if not len(data):
          return data, False
  
      new_data = data
      if new_data.dtype == "object":
          try:
              new_data = data.astype("int64")
          except (TypeError, ValueError, OverflowError):
              pass
  
      # ignore numbers that are out of range
      if issubclass(new_data.dtype.type, np.number):
          in_range = (
              isna(new_data.values)
              | (new_data > self.min_stamp)
              | (new_data.values == iNaT)
          )
          if not in_range.all():
              return data, False
  
      date_units = (
          (self.date_unit,) if self.date_unit else self._STAMP_UNITS
      )
      for date_unit in date_units:
          try:
              new_data = to_datetime(
                  new_data, errors="raise", unit=date_unit
              )
          except ValueError:
              continue
          except Exception:
              break
          return new_data, True
      return data, False
  
imports: from itertools import islice
  import os
  import numpy
  import pandas._libs.json
  from pandas._libs.tslibs import iNaT
  from pandas.compat import StringIO, long, to_str, u
  from pandas.errors import AbstractMethodError
  from pandas.core.dtypes.common import is_period_dtype
  from pandas import DataFrame, MultiIndex, Series, compat, isna, to_datetime
  from pandas.core.reshape.concat import concat
  from pandas.io.common import BaseIterator, _get_handle, _infer_compression, _stringify_path, get_filepath_or_buffer
  from pandas.io.formats.printing import pprint_thing
  from pandas.io.parsers import _validate_integer
  from .normalize import _convert_to_line_delimits
  from .table_schema import build_table_schema, parse_table_schema
label_desc: Use image node_id 7 for calling the Parser obj's underlying member method code with example usage: obj._try_convert_to_date(data) and returns: data,  False, data,  False, new_data,  True, data,  False