INNER CODE UNIT · Python

__init__

guma44/GEOparse · src/GEOparse/GEOTypes.py:194

    def __init__(self, name, metadata, table, columns):
        """Initialize simple GEO object.

        Args:
            name (:obj:`str`): Name of the object
            metadata (:obj:`dict`): Metadata information
            table (:obj:`pandas.DataFrame`): Table with the data from SOFT file
            columns (:obj:`pandas.DataFrame`): Description of the columns,
                number of columns, order and names represented as index
                in this DataFrame has to be the same as table.columns.

        Raises:
            :obj:`ValueError`: Table should be a DataFrame
            :obj:`ValueError`: Columns' description should be a DataFrame
            :obj:`DataIncompatibilityException`: Columns are wrong
            :obj:`ValueError`: Description has to be present in columns
        """
        if not isinstance(table, DataFrame):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…