我正在尝试在tkinter中显示一个熊猫数据框,但是我只能显示5行并且没有滚动条。以下是显示数据框的代码。我可以看到它显示7行,但仅显示5行。有任何想法吗?谢谢
import time, dateutil, statistics, os
import pandas as pd
import numpy as np
pd.set_option('mode.chained_assignment', None)
import tkinter as tk
import tkinter.ttk as ttk
from pandastable import Table
from tkinter import *
from tkfilebrowser import askopendirname, askopenfilenames, asksaveasfilename
f = Frame(root, bg='white')
f.place(x = 0, y = 150, width=700, height=200)
t = Table(f, dataframe=self.result, showtoolbar=True, showstatusbar=True)
t.show()