Skip to content

[BUG] Unexpected error in rendering Lux widget and recommendations. Falling back to Pandas display. #511

Description

@alePoli01

c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\executor\PandasExecutor.py:548: UserWarning:Could not infer format, so each element will be parsed individually, falling back to dateutil. To ensure parsing is consistent and as-expected, please specify a format.
C:\Users\vitob\AppData\Roaming\Python\Python313\site-packages\IPython\core\formatters.py:984: 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

c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\core\frame.py:632: UserWarning:Traceback (most recent call last):
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\core\frame.py", line 581, in ipython_display
self.maintain_metadata()
~~~~~~~~~~~~~~~~~~~~~~^^
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\core\frame.py", line 146, in maintain_metadata
self.compute_metadata()
~~~~~~~~~~~~~~~~~~~~~^^
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\core\frame.py", line 126, in compute_metadata
lux.config.executor.compute_dataset_metadata(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\executor\PandasExecutor.py", line 448, in compute_dataset_metadata
self.compute_data_type(ldf)
~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\executor\PandasExecutor.py", line 506, in compute_data_type
elif check_if_id_like(ldf, attr):
~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lux\utils\utils.py", line 104, in check_if_id_like
diff = series.diff()
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\pandas\core\series.py", line 3134, in diff
result = algorithms.diff(self._values, periods)
File "c:\Users\vitob\AppData\Local\Programs\Python\Python313\Lib\site-packages\pandas\core\algorithms.py", line 1435, in diff
out_arr[res_indexer] = op(arr[res_indexer], arr[lag_indexer])
~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unsupported operand type(s) for -: 'str' and 'float'

(DB: https://polimi365-my.sharepoint.com/:x:/g/personal/10710941_polimi_it/IQDKpx9GwWWeQbqf_AhFGxncAREQvkhKfUTIQhJKYk9NYC0?e=aYmbT5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions