{"id":3406,"library":"autovizwidget","title":"AutoVizWidget","description":"AutoVizWidget is a Python library that provides interactive, automatic visualization capabilities for pandas DataFrames, primarily within Jupyter notebooks. It is part of the broader Jupyter Incubator Sparkmagic project, though it can be installed and used independently to enhance data exploration by leveraging `ipywidgets` for interactive UI elements. The library is currently at version 0.23.0 and sees releases often aligned with its parent Sparkmagic project, typically every few months.","status":"active","version":"0.23.0","language":"en","source_language":"en","source_url":"https://github.com/jupyter-incubator/sparkmagic","tags":["data-visualization","jupyter","pandas","widgets","sparkmagic"],"install":[{"cmd":"pip install autovizwidget","lang":"bash","label":"Install latest version"}],"dependencies":[{"reason":"Required for the interactive widget GUI.","package":"ipywidgets","optional":false},{"reason":"Core data structure visualized by the widget.","package":"pandas","optional":false},{"reason":"Utility functions from the Sparkmagic project.","package":"hdijupyterutils","optional":false}],"imports":[{"note":"The main widget class for visualization.","symbol":"AutoVizWidget","correct":"from autovizwidget.widget import AutoVizWidget"}],"quickstart":{"code":"import pandas as pd\nfrom autovizwidget.widget import AutoVizWidget\nfrom IPython.display import display\n\n# Create a sample DataFrame\ndf = pd.DataFrame({\n    'numerical_col': [1, 2, 3, 4, 5],\n    'categorical_col': ['A', 'B', 'C', 'D', 'E'],\n    'float_col': [10.1, 11.2, 12.3, 13.4, 14.5]\n})\n\n# Instantiate and display the AutoVizWidget\nav_widget = AutoVizWidget(df)\ndisplay(av_widget)","lang":"python","description":"This quickstart demonstrates how to create a pandas DataFrame and then use AutoVizWidget to automatically generate interactive visualizations for it within a Jupyter environment. The `display` function from `IPython.display` is crucial for rendering the widget."},"warnings":[{"fix":"Ensure `pandas` version is less than 2.0.0 if using `autovizwidget` in conjunction with `sparkmagic` versions before 0.23.0. For `autovizwidget` 0.23.0, compatibility with `IPython 8/9` was fixed, but the `pandas` pin from `sparkmagic` might still be relevant depending on your overall environment.","message":"Although `autovizwidget`'s direct `pandas` dependency might allow newer versions, its parent project `sparkmagic` (specifically from version 0.20.5) pinned `pandas<2.0.0` due to incompatibilities. If used within a `sparkmagic` environment, `pandas` versions 2.0.0 and above may cause issues.","severity":"breaking","affected_versions":"<0.20.5 (for sparkmagic compatibility)"},{"fix":"Upgrade to `autovizwidget` version 0.23.0 or newer to ensure proper functionality with `IPython` 8 and 9.","message":"Older versions of `autovizwidget` (prior to 0.23.0) had known compatibility issues with `IPython` versions 8 and 9, leading to display problems.","severity":"gotcha","affected_versions":"<0.23.0"},{"fix":"When integrating `autovizwidget` into a `sparkmagic`-driven environment, consult the `sparkmagic` release notes for potential ecosystem-wide dependency or behavior changes. Ensure all related packages (`ipywidgets`, `ipykernel`, `pandas`) are compatible with each other and `sparkmagic`.","message":"`AutoVizWidget` is developed as part of the `jupyter-incubator/sparkmagic` project. While it can be used independently, its full capabilities, dependency management, and latest compatibility fixes are often tied to `sparkmagic` updates, which might introduce their own breaking changes (e.g., `ipykernel>=6` support in `sparkmagic` 0.20.0).","severity":"gotcha","affected_versions":"All versions"},{"fix":"Use Python 3.7 or a newer version to maintain compatibility and receive updates.","message":"The broader `sparkmagic` project, which `autovizwidget` is a part of, dropped support for Python 3.6 in its 0.20.0 release. While `autovizwidget`'s PyPI metadata may not explicitly state a `requires_python` range, it's strongly recommended to use Python 3.7 or newer for full compatibility within the `sparkmagic` ecosystem.","severity":"deprecated","affected_versions":"<0.20.0 (of sparkmagic, affecting autovizwidget in practice)"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}