# credit to the Stack Overflow user in the source link from IPython.display import HTML HTML(df.to_html(index=False))