Skip to content

Commit

Permalink
added _newdata
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvanderschelling committed Nov 16, 2023
1 parent 7495fc4 commit 026f298
Show file tree
Hide file tree
Showing 4 changed files with 1,068 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/f3dasm/_src/experimentdata/_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def combine_data_to_multiindex(self, other: _Data,
Note
----
This function is mainly used to show the combined ExperimentData
object in a Jupyter Notebook
object in a Jupyter Notebook
"""
return pd.concat([jobs_df, self.to_dataframe(),
other.to_dataframe()],
Expand All @@ -296,6 +296,10 @@ def store(self, filename: Path) -> None:
----------
filename : Path
The filename to store the data to.
Note
----
The data is stored as a csv file.
"""
# TODO: The column information is not saved in the .csv!
self.to_dataframe().to_csv(filename.with_suffix('.csv'))
Expand Down
Loading

0 comments on commit 026f298

Please sign in to comment.