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

Adding a __repr__ method to the ExperimentData object #227

Closed mpvanderschelling closed 9 months ago

mpvanderschelling commented 9 months ago

Suggested by Max

Problem

When printing an ExperimentData object in a Jupyter Notebook, it is nicely formatted to a pandas dataframe HTML representation. However, when printing the same object in a .py file, this is not the case

Solution

Adding a __repr__() method