Use display() for HTML-formatted tables anywhere in a cell.
2020
def func(args): ... data # pd.DataFrame display(data) ...
View gist