Twin EFM table
Elementary flux mode (EFM) table
comments: strflagged: boolname: strstyle: TypingStyletags: TagListtechnical_info: TechnicalInfoDictuid: strCreate a new Table
UnionListListListListbool - FalseAdd a new column to the Dataframe.
strUnionintAdd a tag to a column at a given index
intstrstrAdd a tag to a column by name
strstrstrAdd a row to the Dataframe.
strUnionintAdd a tag to a row at a given index
intstrstrAdd a tag to a row by name
strstrstrAdd technical information on the resource. Technical info are useful to set additional information on the resource.
TechnicalInfoChecks if a column with the given name exists in the Table and raises an exception if it doesn't.
strbool - TrueYou can redefine this method to define custom logic to check this resource. If there is a problem with the resource, return a string that define the error, otherwise return None This method is called on output resources of a task. If there is an error returned, the task will be set to error and next proceses will not be run. It is also call when uploading a resource (usually for files or folder), if there is an error returned, the resource will not be uploaded
OptionalChecks if a row with the given name exists in the Table and raises an exception if it doesn't.
strbool - TrueClone the resource to create a new instance with a new id. It copies the RFields.
ResourceTypeChecks if a column with the given name exists in the Table.
strbool - TrueboolCopy column tags from source_table to self matching by index.
TableintintCopy column tags from source_table to self matching by name.
TableCopy row tag from source_table to self matching by index
TableintintCopy row tag from source_table to self matching by name
TableCreate a new table from a dataframe and a meta
DataFrameListListTableCreate a sub Table based on a subset Dataframe of this original table filtered by columns It copies the tags of this table into the new table based on column names that matched between filtered_df and this dataframe.
DataFrameTableCreate a sub Table based on a subset Dataframe of this original table filtered by rows. It copies the tags of this table into the new table based on row names that matched between filtered_df and this dataframe.
DataFrameTableCheck if the table is equal to another table. It compares the data, row tags and column tags.
objectboolCreate a new row and fill it with the values of the tag of each column.
strstrCreate a new tag for each row and fill it with the values of the provided column
strstrbool - FalseCreate a new columns and fill it with the values of the tag of each row
strstrCreate a new tag for each column and fill it with the values of the row.
strstrbool - FalseFilter out table columns matching a list of names, return a new table
ListTableFilter out table rows matching a list of names, return a new table
ListTableFilter out table rows or columns matching a list of tags and return a new table. The row or column that matches the tags are removed.
Example of search tags are:
tags = [ {"key1": "value1"} ]to filter out rows or columns having a tag{"key1": "value1"}tags = [ {"key1": "value1", "key2": "value2"} ]to filter out rows or columns having tags{"key1": "value1"} AND {"key2": "value2"}tags = [ {"key1": "value1"}, {"key2": "value2"} ]to filter out rows or columns having tags{"key1": "value1"} OR {"key2": "value2"}tags = [ {"key1": "value1", "key2": "value2"}, {"key3": "value3"} ]to filter out rows or columns having tags({"key1": "value1"} AND {"key2": "value2"}) OR {"key2": "value2"}- AND and OR logics can further be combined to perform complex selects
LiteralListTableGenerates a column name that is unique in the Dataframe base on name. If the column name doesn't exist, return name, otherwise return name_1 or name_2, ... Only the name is returned, the column is not added to the Dataframe.
strstrGet the available tags for each column.
DictGet the available tags for each row.
DictGet the value of a cell at a given coordonate (row, column)
intintAnyReturns a column with the given name as a DataFrame.
strbool - FalseDataFrameReturns the data of a column with the given name.
strbool - FalseListGet the index of a column from its name
strintGet the info of a column by name
strTableColumnInfoGet the column names
intintListFunction to retrieve the column names based on column indexes
ListListGet the tags of multiple columns by index
intintbool - FalseListGet the tags of a column at a given index
intDictGet the tags of a column by name
strDictGet the type of a column
AnyTableColumnTypeGet the info of multiple columns by index
intintListDataFrameYou can redefine this method to set a name of the resource. When saving the resource the name will be saved automatically This can be useful to distinguish this resource from another one or to search for the resource
strGet the default style of the resource
TypingStyleGet the id of the resource model in the database. It is provided by the system for input resources of a task.
strGet the name of the resource or the default name if the name is None
strReturns the data of a row with the given name.
strbool - FalseListGet the index of a row from its name. Raise an exception if the row doesn't exist
strintGet the info of a row by name
strTableHeaderInfoGet the row names of the table by index
intintListFunction to retrieve the row names based on row indexes
ListListGet the tags of a row by name
strDictGet the tags of multiple rows by index
intintbool - FalseListGet the tags of a row at a given index
intDictGet the info of multiple rows by index
intintListGet the tags of a given axis
LiteralListGet the technical information of the resource
strTechnicalInfoReturns the first n rows for the columns ant targets.
int - 5DataFrameCall infer_objects on the underlying dataframe, it modifies the table dataframe.
TableThis can be overwritten to perform custom initialization of the resource. This method is called after the init (constructor) of the resource. The values of RFields are set when this method is called.
Remove a column from the Dataframe.
strRemove a row from the Dataframe.
strChecks if a row with the given name exists in the Table.
strbool - TrueboolSelect table columns matching a list of indexes, return a new table
ListTableSelect table columns matching a list of names, return a new table
ListTableSelect table columns matching a list of tags
Example of search tags are:
tags = [ {"key1": "value1"} ]to select columns having a tag{"key1": "value1"}tags = [ {"key1": "value1", "key2": "value2"} ]to select columns having tags{"key1": "value1"} AND {"key2": "value2"}tags = [ {"key1": "value1"}, {"key2": "value2"} ]to select columns having tags{"key1": "value1"} OR {"key2": "value2"}tags = [ {"key1": "value1", "key2": "value2"}, {"key3": "value3"} ]to select columns having tags({"key1": "value1"} AND {"key2": "value2"}) OR {"key2": "value2"}- AND and OR logics can further be combined to perform complex selects
ListTableCreate a new table from coords. It does not includes the to_row_id and to_column_id
intintintintTableSelect table rows matching a list of indexes, return a new table
ListTableSelect table rows matching a list of names, return a new table
ListTableSelect table rows matching a list of tags
Example of search tags are:
tags = [ {"key1": "value1"} ]to select rows having a tag{"key1": "value1"}tags = [ {"key1": "value1", "key2": "value2"} ]to select rows having tags{"key1": "value1"} AND {"key2": "value2"}tags = [ {"key1": "value1"}, {"key2": "value2"} ]to select rows having tags{"key1": "value1"} OR {"key2": "value2"}tags = [ {"key1": "value1", "key2": "value2"}, {"key3": "value3"} ]to select rows having tags({"key1": "value1"} AND {"key2": "value2"}) OR {"key2": "value2"}- AND and OR logics can further be combined to perform complex selects
ListTableSelect table rows or columns matching a list of tags and return a new table
Example of search tags are:
tags = [ {"key1": "value1"} ]to select rows or columns having a tag{"key1": "value1"}tags = [ {"key1": "value1", "key2": "value2"} ]to select rows or columns having tags{"key1": "value1"} AND {"key2": "value2"}tags = [ {"key1": "value1"}, {"key2": "value2"} ]to select rows or columns having tags{"key1": "value1"} OR {"key2": "value2"}tags = [ {"key1": "value1", "key2": "value2"}, {"key3": "value3"} ]to select rows or columns having tags({"key1": "value1"} AND {"key2": "value2"}) OR {"key2": "value2"}- AND and OR logics can further be combined to perform complex selects
LiteralListTableSelect only numeric columns, return a new table
Literal - allTableSet the names of all columns
ListSet the tags of all columns, the length of the list must be equal to the number of columns
ListSet the names of all rows
ListSet the tags of all rows, the length of the list must be equal to the number of rows
ListSet the value of a cell at a given coordonate (row, column)
intintAnySet the name of a column at a given index
strstrSet the tags of a column at a given index
intDictSet the tags of a column by name
strDictstr - ''Set the name of the resource. You can override this method to force a format for the name of the resource.
OptionalUpdate the name of a row
AnystrSet the tags of a row at a given index
intDictSet the tags of a row by name
strDictReturns the last n rows for the columns ant targets.
int - 5DataFrameReturns the table as a csv string.
strReturns the table as a pandas dataframe.
DataFrameReturns the table as a json string.
dictReturns the table as a list of lists.
ListReturns the table as a numpy array.
ndarrayTranspose the table, it returnes a new Table, the original table is not modified.
bool - FalseTableView one or several columns as bar plots
ConfigParamsTableBarPlotViewView one or several columns as box plots
ConfigParamsTableBoxPlotViewView the table as heatmap
ConfigParamsTableHeatmapViewView columns as 2D-line plots
ConfigParamsTableHistogramViewView columns as 2D-line plots
ConfigParamsTableLinePlot2DViewView one or several columns as 2D-line plots
ConfigParamsTableScatterPlot2DViewView one or several columns as 2D-stacked bar plots
ConfigParamsTableStackedBarPlotViewView the table as Venn diagram
ConfigParamsTableVennDiagramViewConfigParamsTableVulcanoPlotViewReturns the name of the class
bool - Falsebool - Falsebool - FalsestrCopy the style of the resource with the possibility to override some properties. Useful when settings the style for a task based on the resource style.
strTypingIconTypestrTypingIconColorTypingStyledictstr - indexAnyAnyTableReturns the full name of the class
bool - Falsebool - FalsestrstrVersionGet the human name of the object
strGet the short description of the object
strGet the style of the object
TypingStyleGet the typing name of the object Ex: 'RESOURCE.gws_core.Table'
strTypingNameObjGet all the classes that inherit this class
List