get_instance method

get_instance

Creates ICellsDataTable from given collection.

Returns

Instance of ICellsDataTable

def get_instance(self, collection):
    ...
ParameterTypeDescription
collectionlistthe collection to build table

get_instance

Creates ICellsDataTable from given sequence of int values.

Returns

Instance of ICellsDataTable

def get_instance(self, vals, column_names):
    ...
ParameterTypeDescription
valslistint values to build table
column_nameslistColumn names of the table.
Its length can only be either 1(build table by the int values vertically)
or length of the int values(build table by the int values horizontally)

get_instance

Creates ICellsDataTable from given sequence of int values.

Returns

Instance of ICellsDataTable

def get_instance(self, vals, vertial):
    ...
ParameterTypeDescription
valslistint values to build table
vertialboolwhether build table by the int values vertiacally(true) or horizontally(false)

get_instance

Creates ICellsDataTable from given sequence of double values.

Returns

Instance of ICellsDataTable

def get_instance(self, vals, column_names):
    ...
ParameterTypeDescription
valslistdouble values to build table
column_nameslistColumn names of the table.
Its length can only be either 1(build table by the double values vertically)
or length of the double values(build table by the double values horizontally)

get_instance

Creates ICellsDataTable from given sequence of double values.

Returns

Instance of ICellsDataTable

def get_instance(self, vals, vertial):
    ...
ParameterTypeDescription
valslistdouble values to build table
vertialboolwhether build table by the double values vertiacally(true) or horizontally(false)

get_instance

Creates ICellsDataTable from given sequence of objects.

Returns

Instance of ICellsDataTable

def get_instance(self, vals, column_names):
    ...
ParameterTypeDescription
valslistobjects to build table
column_nameslistColumn names of the table.
Its length can only be either 1(build table by the objects vertically)
or length of the objects(build table by the objects horizontally)

get_instance

Creates ICellsDataTable from given sequence of objects.

Returns

Instance of ICellsDataTable

def get_instance(self, vals, vertial):
    ...
ParameterTypeDescription
valslistobjects to build table
vertialboolwhether build table by the objects vertiacally(true) or horizontally(false)

See Also