- to_pandas(network, phases=, filename='', join=False, delim=' | ')#
Convert the Network (and optionally Phase) data to Pandas DataFrames.
network (GenericNetwork) – The network containing the data to be stored
phases (list[GenericPhase]s) – The data on each supplied phase will be added to DataFrame
join (bool) – If
False(default), two DataFrames are returned with pore data in one, and throat data in the other. If
Truethe pore and throat data are combined into a single DataFrame. This can be problematic as it will put NaNs into all the pore columns which are shorter than the throat columns.
DataFrameobject containing property and label data in each
False(default) the two DataFrames are
returned in a named tuple, otherwise a single DataFrame with pore and
throat data in the same file, despite the column length being