From f89b2045707ae2d1704c89389b9b92e620f36c8e Mon Sep 17 00:00:00 2001 From: Jun Tan Date: Fri, 15 Nov 2019 14:03:35 -0500 Subject: [PATCH] fix misordering bug in py2 --- python/perspective/perspective/table/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/perspective/perspective/table/table.py b/python/perspective/perspective/table/table.py index 287498163c..8831294cbc 100644 --- a/python/perspective/perspective/table/table.py +++ b/python/perspective/perspective/table/table.py @@ -151,7 +151,7 @@ def update(self, data): Args: data (dict|list|dataframe) : the data with which to update the Table ''' - columns = self.columns() + columns = [name for name in self._table.get_schema().columns() if name != "psp_okey"] types = self._table.get_schema().types() self._accessor = _PerspectiveAccessor(data) self._accessor._names = columns + [name for name in self._accessor._names if name == "__INDEX__"]