Closed mpvanderschelling closed 9 months ago
Suggested by Max
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
ExperimentData
Adding a __repr__() method
__repr__()
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 caseSolution
Adding a
__repr__()
method