You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/07/20 10:58:16 UTC

[GitHub] pokyu opened a new pull request #5444: fix panada version

pokyu opened a new pull request #5444: fix panada version
URL: https://github.com/apache/incubator-superset/pull/5444
 
 
   when create a charts , the charts sql include three column for "group by"
   it is the error:
   ```
   2018-07-19 18:51:18,950:ERROR:root:u'the label [\u5176\u4ed6] is not in the [index]'
   Traceback (most recent call last):
     File "/data/superset/venv/lib/python2.7/site-packages/superset/views/core.py", line 1107, in generate_json
       payload = viz_obj.get_payload()
     File "/data/superset/venv/lib/python2.7/site-packages/superset/viz.py", line 329, in get_payload
       payload['data'] = self.get_data(df)
     File "/data/superset/venv/lib/python2.7/site-packages/superset/viz.py", line 722, in get_data
       for metric in df.columns]
     File "/data/superset/venv/lib/python2.7/site-packages/superset/viz.py", line 716, in _nest
       for l in df.index.levels[0]]
     File "/data/superset/venv/lib/python2.7/site-packages/superset/viz.py", line 716, in _nest
       for l in df.index.levels[0]]
     File "/data/superset/venv/lib/python2.7/site-packages/pandas/core/indexing.py", line 1478, in __getitem__
       return self._getitem_axis(maybe_callable, axis=axis)
     File "/data/superset/venv/lib/python2.7/site-packages/pandas/core/indexing.py", line 1911, in _getitem_axis
       self._validate_key(key, axis)
     File "/data/superset/venv/lib/python2.7/site-packages/pandas/core/indexing.py", line 1798, in _validate_key
       error()
     File "/data/superset/venv/lib/python2.7/site-packages/pandas/core/indexing.py", line 1785, in error
       axis=self.obj._get_axis_name(axis)))
   KeyError: u'the label [\u5176\u4ed6] is not in the [index]'
   ```
   because the pandas version is "0.23.x"
   so it need update pandas version to "0.22.0".
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org