code: def get_value(self):
          
          # It is import to avoid accessing Qt C++ object as it has probably
          # already been destroyed, due to the Qt.WA_DeleteOnClose attribute
          df = self.dataModel.get_data()
          if self.is_series:
              return df.iloc[:, 0]
          else:
              return df
docs: Return modified Dataframe -- this is *not* a copy