I am trying to use Tkinter\'s Scale widget to pass a value to a function that should modify the value of a pandas dataframe.head(). For example, if the Tkinter scale is set