Python pandas.core.common.AbstractMethodError() Examples

The following are 30 code examples of pandas.core.common.AbstractMethodError(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module pandas.core.common , or try the search function .
Example #1
Source File: _core.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _make_plot(self):
        raise AbstractMethodError(self) 
Example #2
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _parse_tbody(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #3
Source File: json.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _try_convert_types(self):
        raise AbstractMethodError(self) 
Example #4
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _build_doc(self):
        """Return a tree-like object that can be used to iterate over the DOM.

        Returns
        -------
        obj : tree-like
        """
        raise AbstractMethodError(self) 
Example #5
Source File: common.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def __next__(self):
        raise AbstractMethodError(self) 
Example #6
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _parse_tfoot(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #7
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _parse_tables(self, doc, match, attrs):
        """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.
        """
        raise AbstractMethodError(self) 
Example #8
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _parse_td(self, obj):
        """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.
        """
        raise AbstractMethodError(self) 
Example #9
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _text_getter(self, obj):
        """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.
        """
        raise AbstractMethodError(self) 
Example #10
Source File: json.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _try_convert_dates(self):
        raise AbstractMethodError(self) 
Example #11
Source File: html.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _parse_thead(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #12
Source File: test_parsers.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def float_precision_choices(self):
        raise AbstractMethodError(self) 
Example #13
Source File: offsets.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _apply_index_days(self, i, roll):
        """Apply the correct day for each date in i"""
        raise AbstractMethodError(self) 
Example #14
Source File: offsets.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _get_roll(self, i, before_day_of_month, after_day_of_month):
        """Return an array with the correct n for each date in i.

        The roll array is based on the fact that i gets rolled back to
        the first day of the month.
        """
        raise AbstractMethodError(self) 
Example #15
Source File: offsets.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _apply(self, n, other):
        """Handle specific apply logic for child classes"""
        raise AbstractMethodError(self) 
Example #16
Source File: datetimelike.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _formatter_func(self):
        raise AbstractMethodError(self) 
Example #17
Source File: parsers.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _failover_to_python(self):
        raise AbstractMethodError(self) 
Example #18
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _build_doc(self):
        """Return a tree-like object that can be used to iterate over the DOM.

        Returns
        -------
        obj : tree-like
        """
        raise AbstractMethodError(self) 
Example #19
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _parse_tfoot(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #20
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _parse_tbody(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #21
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _parse_thead(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #22
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _parse_tr(self, table):
        """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.
        """
        raise AbstractMethodError(self) 
Example #23
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _parse_td(self, obj):
        """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.
        """
        raise AbstractMethodError(self) 
Example #24
Source File: html.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _text_getter(self, obj):
        """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.
        """
        raise AbstractMethodError(self) 
Example #25
Source File: json.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _try_convert_dates(self):
        raise AbstractMethodError(self) 
Example #26
Source File: json.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _try_convert_types(self):
        raise AbstractMethodError(self) 
Example #27
Source File: json.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _format_axes(self):
        raise AbstractMethodError(self) 
Example #28
Source File: parquet.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def write(self, df, path, compression, **kwargs):
        raise AbstractMethodError(self) 
Example #29
Source File: resample.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _upsample(self, f, limit=None, fill_value=None):
        raise AbstractMethodError(self) 
Example #30
Source File: resample.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _downsample(self, f):
        raise AbstractMethodError(self)