What can Python3 tkinter use to display the result of the function (format is DataFrame)

I would like to ask all the bosses. Due to the need to do an interface to display the results, may I ask tkinter how to achieve the echo results? And the result value is processed by pandas:

clipboard.png

clipboard.png

GUI

clipboard.png
ask for your advice.

Mar.06,2021

refer to this:

import tkinter
from tkinter.scrolledtext import *
import pandas as pd
import numpy as np

s = pd.Series(np.random.randn(5), index=['a', 'b', 'c', 'd', 'e'])


root = tkinter.Tk(className=" Another way to create a Scrollable text area")
textPad = ScrolledText(root, width=50, height=40)

textPad.insert(tkinter.constants.END, chars = str(s))
textPad.pack()

root.mainloop()

as shown in figure

Menu