export_data¶
- classmethod Pandas.export_data(network=None, phases=[], join=False, delim=' | ')[source]¶
Convert the Network (and optionally Phase) data to Pandas DataFrames.
- Parameters
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. IfTrue
the 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.
- Returns
Pandas
DataFrame
object containing property and label data in eachcolumn. If
join
was False (default) the two DataFrames arereturned i a named tuple, or else a single DataFrame with pore and
throat data in the same file, despite the column length being
different.