grape.general_graph.GeneralGraph.load

GeneralGraph.load(filename)[source]

Load input file. Input file must be in CSV format. Each line corresponds to a node/element description, with the relative hierarchy, together with the list of all the node attributes.

Parameters

filename (str) – input file in CSV format.

Returns

DataFrame containing the following attributes: mark, init_status, description; DataFrame containing mark and father_mark attribute.

Return type

pandas.DataFrame, pandas.DataFrame