Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias Import alias identifier ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args defaults body Global identifier If NameLoad body Return Assign NameStore NameLoad Global identifier identifier identifier TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad TupleLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call NameLoad BoolOpOr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Num orelse If BoolOpOr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If CompareIs NameLoad NameLoad body Return Num Raise Call NameLoad BinOpMod Str AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass orelse Raise Call NameLoad BinOpMod Str AttributeLoad Call NameLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp ListComp Call NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return IfExp BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return IfExp BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore NameLoad body If BoolOpAnd CompareNotIn NameLoad NameLoad CompareIsNot Call AttributeLoad NameLoad attr keyword NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Return Call NameLoad Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign NameStore ListComp BinOpMod Call NameLoad Str TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad Return BinOpMod Call NameLoad Str Call AttributeLoad Str attr NameLoad decorator_list Assign NameStore Dict Str Str Assign NameStore TupleLoad Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore BinOpMod Call NameLoad NameLoad NameLoad If NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias alias alias ImportFrom alias Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass handlers ExceptHandler type TupleLoad NameLoad NameLoad body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Assign NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Raise Call NameLoad NameLoad orelse Raise orelse If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Num Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Return ListComp Call NameLoad Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Return ListComp Call NameLoad Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index CompareNotEq NameLoad NameLoad Assign NameStore ListLoad Str For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpMult NameLoad BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad If NameLoad body Assign NameStore BinOpAdd ListLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num If NameLoad body AugAssignAdd NameStore ListLoad NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Dict Str NameLoad Str Str NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareIn NameLoad TupleLoad Str Str body If UnaryOpNot NameLoad body Raise Call NameLoad Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Import alias If CompareEq AttributeLoad NameLoad attr Call NameLoad Str body Raise Call NameLoad Str orelse If UnaryOpNot NameLoad body Raise Call NameLoad Str Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad Str Str orelse If Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad Call NameLoad NameLoad attr orelse Assign NameStore IfExp Call NameLoad NameLoad NameLoad Str Str AugAssignAdd NameStore Str Raise Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot BinOpBitAnd NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad orelse Break orelse Expr Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Continue Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad body Expr Str Expr Call NameLoad If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr CompareLt NameLoad Num body Raise Call NameLoad Str Expr Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A :mod:`pandas.io.html` is a module containing functionality for dealing with
HTML IO.

 N/A os N/A re N/A numbers N/A collections distutils.version LooseVersion N/A numpy np pandas.io.common EmptyDataError _is_url urlopen parse_url _validate_header_arg pandas.io.parsers TextParser pandas.compat lrange lmap u string_types iteritems raise_with_traceback binary_type pandas.core common com pandas Series pandas.core.common AbstractMethodError pandas.formats.printing pprint_thing N/A _IMPORTS False N/A _HAS_BS4 False N/A _HAS_LXML False N/A _HAS_HTML5LIB False _importers N/A N/A N/A N/A N/A _IMPORTS N/A _IMPORTS N/A N/A N/A _IMPORTS True N/A _HAS_BS4 _HAS_LXML _HAS_HTML5LIB N/A N/A N/A bs4 N/A _HAS_BS4 True N/A N/A N/A ImportError N/A N/A N/A N/A N/A lxml N/A _HAS_LXML True N/A N/A N/A ImportError N/A N/A N/A N/A N/A html5lib N/A _HAS_HTML5LIB True N/A N/A N/A ImportError N/A N/A N/A N/A _RE_WHITESPACE N/A N/A re compile [\r\n]+|\s{2,} N/A char_types N/A string_types N/A binary_type _remove_whitespace N/A N/A s regex N/A _RE_WHITESPACE N/A N/A Replace extra whitespace inside of a string with a single space.

    Parameters
    ----------
    s : str or unicode
        The string from which to remove extra whitespace.

    regex : regex
        The regular expression to use to remove extra whitespace.

    Returns
    -------
    subd : str or unicode
        `s` with all extra whitespace replaced with a single space.
     N/A N/A N/A regex sub N/A N/A s strip N/A _get_skiprows N/A N/A skiprows N/A N/A N/A Get an iterator given an integer, slice or container.

    Parameters
    ----------
    skiprows : int, slice, container
        The iterator to use to skip rows; can also be a slice.

    Raises
    ------
    TypeError
        * If `skiprows` is not a slice, integer, or Container

    Returns
    -------
    it : iterable
        A proper iterator to use to skip rows of a DataFrame.
     N/A N/A isinstance skiprows slice N/A N/A N/A lrange N/A N/A skiprows start 0 N/A skiprows stop N/A N/A skiprows step 1 N/A N/A N/A N/A isinstance skiprows N/A numbers Integral N/A N/A com is_list_like skiprows N/A N/A skiprows N/A N/A N/A skiprows None N/A N/A 0 N/A N/A TypeError N/A %r is not a valid type for skipping rows N/A N/A type skiprows __name__ N/A _read N/A N/A obj N/A N/A N/A Try to read from a url, file or string.

    Parameters
    ----------
    obj : str, unicode, or file-like

    Returns
    -------
    raw_text : str
     N/A N/A _is_url obj N/A N/A N/A urlopen obj url N/A N/A text N/A N/A url read N/A N/A N/A hasattr obj read N/A N/A text N/A N/A obj read N/A N/A N/A isinstance obj char_types N/A N/A text obj N/A N/A N/A N/A N/A N/A os path isfile text N/A N/A N/A open text rb f N/A N/A N/A N/A f read N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A N/A TypeError N/A Cannot read object of type %r N/A N/A type obj __name__ N/A text N/A _HtmlFrameParser N/A object N/A N/A Base class for parsers that parse HTML into DataFrames.

    Parameters
    ----------
    io : str or file-like
        This can be either a string of raw HTML, a valid URL using the HTTP,
        FTP, or FILE protocols or a file-like object.

    match : str or regex
        The text to match in the document.

    attrs : dict
        List of HTML <table> element attributes to match.

    Attributes
    ----------
    io : str or file-like
        raw HTML, URL, or file-like object

    match : regex
        The text to match in the raw HTML

    attrs : dict-like
        A dictionary of valid table attributes to use to search for table
        elements.

    Notes
    -----
    To subclass this class effectively you must override the following methods:
        * :func:`_build_doc`
        * :func:`_text_getter`
        * :func:`_parse_td`
        * :func:`_parse_tables`
        * :func:`_parse_tr`
        * :func:`_parse_thead`
        * :func:`_parse_tbody`
        * :func:`_parse_tfoot`
    See each method's respective documentation for details on their
    functionality.
     __init__ N/A N/A self io match attrs encoding N/A N/A N/A N/A self io io N/A N/A self match match N/A N/A self attrs attrs N/A N/A self encoding encoding N/A parse_tables N/A N/A self N/A N/A N/A tables N/A N/A self _parse_tables N/A N/A self _build_doc N/A self match N/A self attrs N/A N/A N/A N/A self _build_table table N/A table tables N/A _parse_raw_data N/A N/A self rows N/A N/A N/A Parse the raw data into a list of lists.

        Parameters
        ----------
        rows : iterable of node-like
            A list of row elements.

        text_getter : callable
            A callable that gets the text from an individual node. This must be
            defined by subclasses.

        column_finder : callable
            A callable that takes a row node as input and returns a list of the
            column node in that row. This must be defined by subclasses.

        Returns
        -------
        data : list of list of strings
         N/A data N/A N/A N/A _remove_whitespace N/A N/A self _text_getter col N/A col N/A N/A self _parse_td row N/A row rows N/A data N/A _text_getter N/A N/A self obj N/A N/A N/A Return the text of an individual DOM node.

        Parameters
        ----------
        obj : node-like
            A DOM node.

        Returns
        -------
        text : str or unicode
            The text from an individual DOM node.
         N/A N/A AbstractMethodError self N/A _parse_td N/A N/A self obj N/A N/A N/A Return the td elements from a row element.

        Parameters
        ----------
        obj : node-like

        Returns
        -------
        columns : list of node-like
            These are the elements of each row, i.e., the columns.
         N/A N/A AbstractMethodError self N/A _parse_tables N/A N/A self doc match attrs N/A N/A N/A Return all tables from the parsed DOM.

        Parameters
        ----------
        doc : tree-like
            The DOM from which to parse the table element.

        match : str or regular expression
            The text to search for in the DOM tree.

        attrs : dict
            A dictionary of table attributes that can be used to disambiguate
            mutliple tables on a page.

        Raises
        ------
        ValueError
            * If `match` does not match any text in the document.

        Returns
        -------
        tables : list of node-like
            A list of <table> elements to be parsed into raw data.
         N/A N/A AbstractMethodError self N/A _parse_tr N/A N/A self table N/A N/A N/A Return the list of row elements from the parsed table element.

        Parameters
        ----------
        table : node-like
            A table element that contains row elements.

        Returns
        -------
        rows : list of node-like
            A list row elements of a table, usually <tr> or <th> elements.
         N/A N/A AbstractMethodError self N/A _parse_thead N/A N/A self table N/A N/A N/A Return the header of a table.

        Parameters
        ----------
        table : node-like
            A table element that contains row elements.

        Returns
        -------
        thead : node-like
            A <thead>...</thead> element.
         N/A N/A AbstractMethodError self N/A _parse_tbody N/A N/A self table N/A N/A N/A Return the body of the table.

        Parameters
        ----------
        table : node-like
            A table element that contains row elements.

        Returns
        -------
        tbody : node-like
            A <tbody>...</tbody> element.
         N/A N/A AbstractMethodError self N/A _parse_tfoot N/A N/A self table N/A N/A N/A Return the footer of the table if any.

        Parameters
        ----------
        table : node-like
            A table element that contains row elements.

        Returns
        -------
        tfoot : node-like
            A <tfoot>...</tfoot> element.
         N/A N/A AbstractMethodError self N/A _build_doc N/A N/A self N/A N/A N/A Return a tree-like object that can be used to iterate over the DOM.

        Returns
        -------
        obj : tree-like
         N/A N/A AbstractMethodError self N/A _build_table N/A N/A self table N/A N/A N/A header N/A N/A self _parse_raw_thead table N/A body N/A N/A self _parse_raw_tbody table N/A footer N/A N/A self _parse_raw_tfoot table N/A N/A header body footer N/A _parse_raw_thead N/A N/A self table N/A N/A N/A thead N/A N/A self _parse_thead table N/A res N/A N/A thead N/A N/A res N/A lmap N/A self _text_getter N/A N/A self _parse_th N/A thead N/A 0 N/A N/A N/A res N/A N/A len res 1 N/A N/A np atleast_1d N/A N/A N/A N/A np array res squeeze res N/A _parse_raw_tfoot N/A N/A self table N/A N/A N/A tfoot N/A N/A self _parse_tfoot table N/A res N/A N/A tfoot N/A N/A res N/A lmap N/A self _text_getter N/A N/A self _parse_td N/A tfoot N/A 0 N/A N/A N/A res N/A N/A len res 1 N/A N/A np atleast_1d N/A N/A N/A N/A np array res squeeze res N/A _parse_raw_tbody N/A N/A self table N/A N/A N/A tbody N/A N/A self _parse_tbody table N/A N/A N/A res N/A N/A self _parse_tr N/A tbody N/A 0 N/A N/A N/A IndexError N/A N/A res N/A N/A self _parse_tr table N/A N/A N/A self _parse_raw_data res N/A N/A _BeautifulSoupHtml5LibFrameParser N/A _HtmlFrameParser N/A N/A HTML to DataFrame parser that uses BeautifulSoup under the hood.

    See Also
    --------
    pandas.io.html._HtmlFrameParser
    pandas.io.html._LxmlFrameParser

    Notes
    -----
    Documentation strings for this class are in the base class
    :class:`pandas.io.html._HtmlFrameParser`.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super _BeautifulSoupHtml5LibFrameParser self __init__ args kwargs bs4 SoupStrainer N/A N/A self _strainer N/A SoupStrainer table N/A _text_getter N/A N/A self obj N/A N/A N/A N/A obj text N/A _parse_td N/A N/A self row N/A N/A N/A N/A N/A row find_all N/A td th N/A _parse_tr N/A N/A self element N/A N/A N/A N/A N/A element find_all tr N/A _parse_th N/A N/A self element N/A N/A N/A N/A N/A element find_all th N/A _parse_thead N/A N/A self table N/A N/A N/A N/A N/A table find_all thead N/A _parse_tbody N/A N/A self table N/A N/A N/A N/A N/A table find_all tbody N/A _parse_tfoot N/A N/A self table N/A N/A N/A N/A N/A table find_all tfoot N/A _parse_tables N/A N/A self doc match attrs N/A N/A N/A element_name N/A N/A self _strainer name N/A tables N/A N/A doc find_all element_name attrs attrs N/A N/A tables N/A N/A N/A ValueError No tables found N/A result N/A N/A unique_tables N/A set N/A table tables N/A N/A N/A N/A table unique_tables N/A N/A N/A table find text match None N/A N/A N/A N/A result append table N/A N/A N/A unique_tables add table N/A N/A result N/A N/A N/A ValueError N/A No tables found matching pattern %r N/A match pattern N/A result N/A _setup_build_doc N/A N/A self N/A N/A N/A raw_text N/A _read N/A self io N/A N/A raw_text N/A N/A N/A ValueError N/A No text parsed from document: %s N/A self io N/A raw_text N/A _build_doc N/A N/A self N/A N/A bs4 BeautifulSoup N/A N/A BeautifulSoup N/A N/A self _setup_build_doc features html5lib from_encoding N/A self encoding N/A N/A _build_xpath_expr N/A N/A attrs N/A N/A N/A Build an xpath expression to simulate bs4's ability to pass in kwargs to
    search for attributes when using the lxml parser.

    Parameters
    ----------
    attrs : dict
        A dict of HTML attributes. These are NOT checked for validity.

    Returns
    -------
    expr : unicode
        An XPath expression that checks for the given HTML attributes.
     N/A N/A class_ attrs N/A N/A N/A attrs N/A class N/A N/A attrs pop class_ N/A s N/A N/A N/A u @%s=%r N/A k v N/A N/A k v N/A iteritems attrs N/A N/A N/A u [%s] N/A N/A  and  join s N/A N/A _re_namespace N/A re http://exslt.org/regular-expressions N/A _valid_schemes N/A http file ftp _LxmlFrameParser N/A _HtmlFrameParser N/A N/A HTML to DataFrame parser that uses lxml under the hood.

    Warning
    -------
    This parser can only handle HTTP, FTP, and FILE urls.

    See Also
    --------
    _HtmlFrameParser
    _BeautifulSoupLxmlFrameParser

    Notes
    -----
    Documentation strings for this class are in the base class
    :class:`_HtmlFrameParser`.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super _LxmlFrameParser self __init__ args kwargs N/A _text_getter N/A N/A self obj N/A N/A N/A N/A N/A obj text_content N/A _parse_td N/A N/A self row N/A N/A N/A N/A N/A row xpath .//td|.//th N/A _parse_tr N/A N/A self table N/A N/A N/A expr .//tr[normalize-space()] N/A N/A N/A table xpath expr N/A _parse_tables N/A N/A self doc match kwargs N/A N/A N/A pattern N/A match pattern N/A query //table//*[re:test(text(), %r)]/ancestor::table N/A xpath_expr N/A N/A u query pattern N/A kwargs N/A N/A xpath_expr N/A _build_xpath_expr kwargs N/A tables N/A N/A doc xpath xpath_expr namespaces _re_namespace N/A N/A tables N/A N/A N/A ValueError N/A No tables found matching regex %r pattern N/A tables N/A _build_doc N/A N/A self N/A N/A N/A 
        Raises
        ------
        ValueError
            * If a URL that lxml cannot parse is passed.

        Exception
            * Any other ``Exception`` thrown. For example, trying to parse a
              URL that is syntactically correct on a machine with no internet
              connection will fail.

        See Also
        --------
        pandas.io.html._HtmlFrameParser._build_doc
         lxml.html parse fromstring HTMLParser lxml.etree XMLSyntaxError N/A parser N/A HTMLParser recover False encoding N/A self encoding N/A N/A N/A r N/A parse N/A self io parser parser N/A N/A N/A r N/A N/A r getroot N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A UnicodeDecodeError IOError N/A N/A N/A N/A _is_url N/A self io N/A N/A r N/A fromstring N/A self io parser parser N/A N/A N/A r N/A N/A r getroot N/A N/A N/A AttributeError N/A N/A N/A N/A scheme N/A N/A parse_url N/A self io scheme N/A N/A scheme _valid_schemes N/A N/A msg N/A %r is not a valid url scheme, valid schemes are %s N/A scheme _valid_schemes N/A N/A ValueError msg N/A N/A N/A N/A N/A N/A hasattr r text_content N/A N/A N/A XMLSyntaxError no text parsed from document 0 0 0 N/A r N/A _parse_tbody N/A N/A self table N/A N/A N/A N/A N/A table xpath .//tbody N/A _parse_thead N/A N/A self table N/A N/A N/A N/A N/A table xpath .//thead N/A _parse_tfoot N/A N/A self table N/A N/A N/A N/A N/A table xpath .//tfoot N/A _parse_raw_thead N/A N/A self table N/A N/A N/A expr .//thead//th N/A N/A N/A _remove_whitespace N/A N/A x text_content N/A x N/A N/A table xpath expr N/A _parse_raw_tfoot N/A N/A self table N/A N/A N/A expr .//tfoot//th|//tfoot//td N/A N/A N/A _remove_whitespace N/A N/A x text_content N/A x N/A N/A table xpath expr N/A N/A _expand_elements N/A N/A body N/A N/A N/A lens N/A Series N/A lmap len body N/A lens_max N/A N/A lens max N/A not_max N/A lens N/A N/A lens lens_max N/A empty N/A N/A N/A ind length N/A iteritems not_max N/A N/A N/A body N/A ind N/A empty N/A lens_max length N/A _data_to_frame N/A N/A data header index_col skiprows parse_dates tupleize_cols thousands N/A N/A N/A N/A head body foot data N/A head N/A N/A body N/A N/A head body N/A N/A header None N/A N/A header 0 N/A foot N/A N/A body N/A foot N/A N/A _expand_elements body N/A tp N/A TextParser body header header index_col index_col skiprows N/A _get_skiprows skiprows parse_dates parse_dates tupleize_cols tupleize_cols thousands thousands N/A df N/A N/A tp read N/A df N/A N/A _valid_parsers N/A lxml None html5lib bs4 _LxmlFrameParser _LxmlFrameParser _BeautifulSoupHtml5LibFrameParser _BeautifulSoupHtml5LibFrameParser _parser_dispatch N/A N/A flavor N/A N/A N/A Choose the parser based on the input flavor.

    Parameters
    ----------
    flavor : str
        The type of parser to use. This must be a valid backend.

    Returns
    -------
    cls : _HtmlFrameParser subclass
        The parser class based on the requested input flavor.

    Raises
    ------
    ValueError
        * If `flavor` is not a valid backend.
    ImportError
        * If you do not have the requested `flavor`
     N/A valid_parsers N/A list N/A N/A _valid_parsers keys N/A N/A flavor valid_parsers N/A N/A N/A ValueError N/A %r is not a valid flavor, valid flavors are %s N/A flavor valid_parsers N/A N/A flavor N/A bs4 html5lib N/A N/A N/A _HAS_HTML5LIB N/A N/A N/A ImportError html5lib not found, please install it N/A N/A _HAS_BS4 N/A N/A N/A ImportError BeautifulSoup4 (bs4) not found, please install it N/A bs4 N/A N/A N/A bs4 __version__ N/A LooseVersion 4.2.0 N/A N/A N/A ValueError You're using a version of BeautifulSoup4 (4.2.0) that has been known to cause problems on certain operating systems such as Debian. Please install a version of BeautifulSoup4 != 4.2.0, both earlier and later releases will work. N/A N/A N/A _HAS_LXML N/A N/A N/A ImportError lxml not found, please install it N/A N/A _valid_parsers N/A flavor N/A _print_as_set N/A N/A s N/A N/A N/A N/A {%s} N/A N/A ,  join N/A N/A pprint_thing el N/A el s N/A _validate_flavor N/A N/A flavor N/A N/A N/A N/A flavor None N/A N/A flavor N/A lxml bs4 N/A N/A N/A isinstance flavor string_types N/A N/A flavor N/A flavor N/A N/A N/A isinstance flavor N/A collections Iterable N/A N/A N/A N/A all N/A N/A isinstance flav string_types N/A flav flavor N/A N/A N/A TypeError N/A Object of type %r is not an iterable of strings N/A N/A type flavor __name__ N/A N/A fmt N/A N/A isinstance flavor string_types {0!r} {0} N/A fmt  is not a valid flavor N/A N/A ValueError N/A N/A fmt format flavor N/A flavor N/A tuple flavor N/A valid_flavors N/A set _valid_parsers N/A flavor_set N/A set flavor N/A N/A N/A flavor_set valid_flavors N/A N/A N/A ValueError N/A %s is not a valid set of flavors, valid flavors are %s N/A N/A _print_as_set flavor_set N/A _print_as_set valid_flavors N/A flavor N/A _parse N/A N/A flavor io match header index_col skiprows parse_dates tupleize_cols thousands attrs encoding N/A N/A N/A flavor N/A _validate_flavor flavor N/A compiled_match N/A N/A re compile match N/A retained None N/A flav flavor N/A N/A parser N/A _parser_dispatch flav N/A p N/A parser io compiled_match attrs encoding N/A N/A N/A tables N/A N/A p parse_tables N/A N/A N/A Exception N/A caught N/A N/A retained caught N/A N/A N/A N/A N/A raise_with_traceback retained N/A ret N/A N/A table tables N/A N/A N/A N/A N/A N/A ret append N/A _data_to_frame data table header header index_col index_col skiprows skiprows parse_dates parse_dates tupleize_cols tupleize_cols thousands thousands N/A N/A N/A EmptyDataError N/A N/A N/A ret N/A read_html N/A N/A io match flavor header index_col skiprows attrs parse_dates tupleize_cols thousands encoding N/A .+ None None None None None False False , None N/A N/A Read HTML tables into a ``list`` of ``DataFrame`` objects.

    Parameters
    ----------
    io : str or file-like
        A URL, a file-like object, or a raw string containing HTML. Note that
        lxml only accepts the http, ftp and file url protocols. If you have a
        URL that starts with ``'https'`` you might try removing the ``'s'``.

    match : str or compiled regular expression, optional
        The set of tables containing text matching this regex or string will be
        returned. Unless the HTML is extremely simple you will probably need to
        pass a non-empty string here. Defaults to '.+' (match any non-empty
        string). The default value will return all tables contained on a page.
        This value is converted to a regular expression so that there is
        consistent behavior between Beautiful Soup and lxml.

    flavor : str or None, container of strings
        The parsing engine to use. 'bs4' and 'html5lib' are synonymous with
        each other, they are both there for backwards compatibility. The
        default of ``None`` tries to use ``lxml`` to parse and if that fails it
        falls back on ``bs4`` + ``html5lib``.

    header : int or list-like or None, optional
        The row (or list of rows for a :class:`~pandas.MultiIndex`) to use to
        make the columns headers.

    index_col : int or list-like or None, optional
        The column (or list of columns) to use to create the index.

    skiprows : int or list-like or slice or None, optional
        0-based. Number of rows to skip after parsing the column integer. If a
        sequence of integers or a slice is given, will skip the rows indexed by
        that sequence.  Note that a single element sequence means 'skip the nth
        row' whereas an integer means 'skip n rows'.

    attrs : dict or None, optional
        This is a dictionary of attributes that you can pass to use to identify
        the table in the HTML. These are not checked for validity before being
        passed to lxml or Beautiful Soup. However, these attributes must be
        valid HTML table attributes to work correctly. For example, ::

            attrs = {'id': 'table'}

        is a valid attribute dictionary because the 'id' HTML tag attribute is
        a valid HTML attribute for *any* HTML tag as per `this document
        <http://www.w3.org/TR/html-markup/global-attributes.html>`__. ::

            attrs = {'asdf': 'table'}

        is *not* a valid attribute dictionary because 'asdf' is not a valid
        HTML attribute even if it is a valid XML attribute.  Valid HTML 4.01
        table attributes can be found `here
        <http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2>`__. A
        working draft of the HTML 5 spec can be found `here
        <http://www.w3.org/TR/html-markup/table.html>`__. It contains the
        latest information on table attributes for the modern web.

    parse_dates : bool, optional
        See :func:`~pandas.read_csv` for more details.

    tupleize_cols : bool, optional
        If ``False`` try to parse multiple header rows into a
        :class:`~pandas.MultiIndex`, otherwise return raw tuples. Defaults to
        ``False``.

    thousands : str, optional
        Separator to use to parse thousands. Defaults to ``','``.

    encoding : str or None, optional
        The encoding used to decode the web page. Defaults to ``None``.``None``
        preserves the previous encoding behavior, which depends on the
        underlying parser library (e.g., the parser library will try to use
        the encoding provided by the document).

    Returns
    -------
    dfs : list of DataFrames

    Notes
    -----
    Before using this function you should read the :ref:`gotchas about the
    HTML parsing libraries <html-gotchas>`.

    Expect to do some cleanup after you call this function. For example, you
    might need to manually assign column names if the column names are
    converted to NaN when you pass the `header=0` argument. We try to assume as
    little as possible about the structure of the table and push the
    idiosyncrasies of the HTML contained in the table to the user.

    This function searches for ``<table>`` elements and only for ``<tr>``
    and ``<th>`` rows and ``<td>`` elements within each ``<tr>`` or ``<th>``
    element in the table. ``<td>`` stands for "table data".

    Similar to :func:`~pandas.read_csv` the `header` argument is applied
    **after** `skiprows` is applied.

    This function will *always* return a list of :class:`DataFrame` *or*
    it will fail, e.g., it will *not* return an empty list.

    Examples
    --------
    See the :ref:`read_html documentation in the IO section of the docs
    <io.read_html>` for some examples of reading in HTML tables.

    See Also
    --------
    pandas.read_csv
     N/A N/A _importers N/A N/A N/A isinstance skiprows N/A numbers Integral N/A skiprows 0 N/A N/A N/A ValueError cannot skip rows starting from the end of the data (you passed a negative value) N/A N/A _validate_header_arg header N/A N/A _parse flavor io match header index_col skiprows parse_dates tupleize_cols thousands attrs encoding N/A