-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] Using lux on Databricks #476
Comments
Hi @pbezz1, Thank you for reporting this issue! Could you share the code and data you used to help us reproduce and debug this issue? |
In a Databricks environment:
!pip install lux import pandas as pd Load datasetdf = pd.read_csv("data/abcdefg.csv") df.intent = ['col1','col2'] The above error is shown. |
Hi @pbezz1, What does the |
I'm trying to use the lux library in a Databricks notebook but I'm getting this warning and error after the df.intent statment:
Out[10]: /databricks/python/lib/python3.8/site-packages/IPython/core/formatters.py:918: UserWarning:
Unexpected error in rendering Lux widget and recommendations. Falling back to Pandas display.
Please report the following issue on Github: https://github.com/lux-org/lux/issues
/databricks/python/lib/python3.8/site-packages/lux/core/frame.py:632: UserWarning:Traceback (most recent call last):
File "/databricks/python/lib/python3.8/site-packages/lux/core/frame.py", line 594, in ipython_display
self.maintain_recs()
File "/databricks/python/lib/python3.8/site-packages/lux/core/frame.py", line 451, in maintain_recs
self._widget = rec_df.render_widget()
File "/databricks/python/lib/python3.8/site-packages/lux/core/frame.py", line 681, in render_widget
widgetJSON = self.to_JSON(self._rec_info, input_current_vis=input_current_vis)
File "/databricks/python/lib/python3.8/site-packages/lux/core/frame.py", line 713, in to_JSON
widget_spec["current_vis"] = LuxDataFrame.current_vis_to_JSON(
File "/databricks/python/lib/python3.8/site-packages/lux/core/frame.py", line 736, in current_vis_to_JSON
current_vis_spec["allcols"] = False
TypeError: 'NoneType' object does not support item assignment
The text was updated successfully, but these errors were encountered: