1

My question is very specific to pandas profiling package and tkinter package. I want that on click of a button, the profiling report should be displayed in the gui window. My code is:

import pandas_profiling

def data_profiling():
    pandas_profiling.ProfileReport(data)

import tkinter as tk

root = tk.Tk()
tk.Button(root, text='EDA/Data profiling', command=data_profiling).grid(row=9, column=0)

Upon execution the button displays nothing. Documentation of pandas_profiling does not also help.

Simon
  • 5,464
  • 6
  • 49
  • 85
user2906657
  • 521
  • 2
  • 4
  • 18

0 Answers0