CSVTable

(class from pyomo.dataportal.plugins.csv_table)

class pyomo.dataportal.plugins.csv_table.CSVTable[source]

Bases: TableData

__init__()[source]

Constructor

Methods

__init__()

Constructor

add_options(**kwds)

Add the keyword options to the Options object in this object.

available()

clear()

Clear the data that was extracted from this table

close()

Close the data manager.

initialize(**kwds)

Initialize the data manager with keyword arguments.

open()

Open the data manager.

process(model, data, default)

Process the data that was extracted from this data manager and return it.

read()

Read data from the data manager.

write(data)

Write data to the data manager.

Member Documentation

add_options(**kwds)

Add the keyword options to the Options object in this object.

available()
Returns:

Return True if the data manager is available.

clear()

Clear the data that was extracted from this table

close()[source]

Close the data manager.

initialize(**kwds)

Initialize the data manager with keyword arguments.

The filename argument is recognized here, and other arguments are passed to the add_options() method.

open()[source]

Open the data manager.

process(model, data, default)

Process the data that was extracted from this data manager and return it.

read()[source]

Read data from the data manager.

write(data)[source]

Write data to the data manager.