@classmethod<EOL><INDENT>def _from_array(cls, a,<EOL>lexicon=None,<EOL>source="<STR_LIT>",<EOL>points=False,<EOL>abbreviations=False):<DEDENT>
with warnings.catch_warnings():<EOL><INDENT>warnings.simplefilter("<STR_LIT>")<EOL>w = "<STR_LIT>"<EOL>warnings.warn(w, DeprecationWarning, stacklevel=<NUM_LIT:2>)<EOL><DEDENT>csv_text = '<STR_LIT>'<EOL>for interval in a:<EOL><INDENT>interval = [str(i) for i in interval]<EOL>if (len(interval) < <NUM_LIT:2>) or (len(interval) > <NUM_LIT:3>):<EOL><INDENT>raise StriplogError('<STR_LIT>')<EOL><DEDENT>descr = interval[-<NUM_LIT:1>].strip('<STR_LIT>')<EOL>interval[-<NUM_LIT:1>] = '<STR_LIT:">' + descr + '<STR_LIT:">'<EOL>csv_text += '<STR_LIT:U+002CU+0020>'.join(interval) + '<STR_LIT:\n>'<EOL><DEDENT>return cls.from_descriptions(csv_text,<EOL>lexicon,<EOL>source=source,<EOL>points=points,<EOL>abbreviations=abbreviations)<EOL>
DEPRECATING.

Turn an array-like into a Striplog. It should have the following
format (where ``base`` is optional):

    [(top, base, description),
     (top, base, description),
     ...
     ]

Args:
    a (array-like): A list of lists or of tuples, or an array.
    lexicon (Lexicon): A language dictionary to extract structured
        objects from the descriptions.
    source (str): The source of the data. Default: ''.
    points (bool): Whether to treat as point data. Default: False.

Returns:
    Striplog: The ``striplog`` object.