bessagroup / f3dasm

Framework for Data-Driven Design & Analysis of Structures & Materials (F3DASM)
https://f3dasm.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
111 stars 29 forks source link

Exporting ExperimentData to other datatypes shows path to disk rather than data #235

Open maxkukkola opened 9 months ago

maxkukkola commented 9 months ago

When exporting ExperimentData that was written to disk, for example using .to_pandas(), the outputted data frame shows the path to the write location on the disk. Functionality would be improved if the outputted data frame already contained the data instead of the path so that user doesn't need to iterate over values with ExperimentSample.get().

mpvanderschelling commented 9 months ago

Thank you for your suggestion Max! As of now, this might be problematic because that means that in the outputted pd.DataFrame, individual cells might hold data that cannot be stored in a pandas DataFrame cell, like numpy arrays.