Leveraging the Jupyter and IPython display protocol
In python for every object you create there is a __repr__ method in it which is used to display it wherever you print that variable.
class Student:
def __init__(self, name, class_name) -> None:
self.name = name
self.class_name = ...
totoro.hashnode.dev3 min read
Shivanshu Semwal
Here is link to more detailed blog - matthiasbussonnier.com/posts/29-JupyterCon-Displa…