  
          return [column[0] for column in columns]
  
      def tree_insert_data(self, sessions_summary):
          """ Insert the data into the totals tree-view """
          logger.debug("Inserting treeview data")
          self.tree.configure(height=len(sessions_summary))
  
          for item in sessions_summary:
              values = [item[column] for column in self.columns]
 
</s> remove         self.tree.configure(height=len(sessions_summary))
 </s> add         self._tree.configure(height=len(sessions_summary)) </s> remove             values = [item[column] for column in self.columns]
 </s> add             values = [item[column] for column in self._columns] </s> remove             self.tree.heading(column[0], text=text)
            self.tree.column(column[0], width=column[1], anchor=tk.E, minwidth=40)
        self.tree.column("#0", width=40)
        self.tree.heading("#0", text="Graphs")
 </s> add             self._tree.heading(column[0], text=text)
            self._tree.column(column[0], width=column[1], anchor=tk.E, minwidth=40)
        self._tree.column("#0", width=40)
        self._tree.heading("#0", text="Graphs") </s> remove             if self.check_valid_data(values):
 </s> add             if self._check_valid_data(values): </s> remove         self.tree["columns"] = [column[0] for column in columns]
 </s> add         self._tree["columns"] = [column[0] for column in columns]
        """ Insert the summary data into the statistics tree-view.

        Parameters
        ----------
        sessions_summary: list
            List of session summary dicts for populating into the tree-view
        """
  
          return [column[0] for column in columns]
  
      def tree_insert_data(self, sessions_summary):
        """ Insert the summary data into the statistics tree-view.

        Parameters
        ----------
        sessions_summary: list
            List of session summary dicts for populating into the tree-view
        """
          logger.debug("Inserting treeview data")
          self.tree.configure(height=len(sessions_summary))
  
          for item in sessions_summary:
              values = [item[column] for column in self.columns]
keep keep keep keep replace keep keep keep keep keep
 GUI - Stats optimization (#1067)

* Faster stat loading + caching

* Compress data in cache

* Optimize some calculations

* Vectorize smoothing

* stats.Calculations optimized

* Load latest training data from live iterator

* Add options to training graph 
lib/gui/display_analysis.py