def show(df): """ The main function to start the data frame GUI. """ app = wx.App(False) frame = MainFrame(df) frame.Show() app.MainLoop()