{"id":23640,"library":"dtale","title":"D-Tale","description":"A web-based visualizer for pandas DataFrames, offering an intuitive GUI for data exploration, transformation, and analysis. Current version is 3.22.0, with regular releases every few months.","status":"active","version":"3.22.0","language":"python","source_language":"en","source_url":"https://github.com/man-group/dtale","tags":["data-analysis","visualization","pandas","web-app","exploration"],"install":[{"cmd":"pip install dtale","lang":"bash","label":"default"},{"cmd":"pip install dtale[arcticdb]","lang":"bash","label":"with ArcticDB support"}],"dependencies":[{"reason":"core data structure dependency","package":"pandas","optional":false},{"reason":"web server backend","package":"flask","optional":false},{"reason":"interactive dashboard components","package":"dash","optional":false},{"reason":"optional: expose server via ngrok","package":"flask-ngrok","optional":true}],"imports":[{"note":"top-level module, no subpackage import needed","wrong":"","symbol":"dtale","correct":"import dtale"},{"note":"main function to launch UI","wrong":"","symbol":"show","correct":"from dtale import show"}],"quickstart":{"code":"import pandas as pd\nimport dtale\n\ndf = pd.DataFrame({'x': [1,2,3], 'y': [4,5,6]})\nd = dtale.show(df, subprocess=False, open_browser=False)\nprint('Data opened at:', d._main_url)\nd.close()","lang":"python","description":"Launch D-Tale UI for a DataFrame, disable subprocess and browser auto-open for script usage."},"warnings":[{"fix":"pip install --upgrade dtale","message":"Version 3.22.0 fixes CWE-502 unsafe deserialization in Redis/Shelve backends. If you use those storage backends, upgrade immediately.","severity":"breaking","affected_versions":"<3.22.0"},{"fix":"Pass subprocess=False and open_browser=False to dtale.show()","message":"In older versions, the default behavior was to run a subprocess and open browser automatically. In recent versions, subprocess=False and open_browser=False are recommended for scripting.","severity":"deprecated","affected_versions":">=3.14.0"},{"fix":"Store the returned object and call .close() when done, or use subprocess=True to let it manage a separate process.","message":"Calling dtale.show() multiple times without closing previous instances can cause port conflicts. Always close with instance.close() or reuse the same instance.","severity":"gotcha","affected_versions":"all"},{"fix":"Check dash integration if you have custom callbacks; ensure dash version compatibility.","message":"In version 3.17.0, dash 3.0.0 support introduced breaking changes; custom code using dash internals may need updates.","severity":"breaking","affected_versions":"3.17.0+"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run pip install dtale in your environment, or activate the correct virtualenv.","cause":"dtale not installed or virtual environment not activated.","error":"ModuleNotFoundError: No module named 'dtale'"},{"fix":"Close any running D-Tale instances (e.g., call .close() on the object) or specify a different port via dtale.show(df, host='localhost', port=12345).","cause":"Previous D-Tale instance still running on the same port, or port conflict.","error":"OSError: [Errno 98] Address already in use"},{"fix":"Uninstall any conflicting packages (pip uninstall dtale) and reinstall the correct one (pip install dtale) from PyPI.","cause":"Installed a wrong package named 'dtale' from a different source, or import path issue.","error":"AttributeError: module 'dtale' has no attribute 'show'"},{"fix":"Ensure all required dependencies (flask, dash, etc.) are installed. Try restarting the Python interpreter.","cause":"D-Tale is trying to open a file or resource incorrectly, often due to missing dependencies or permissions.","error":"ValueError: invalid mode: 'r' while trying to open D-Tale"},{"fix":"Upgrade dtale: pip install --upgrade dtale","cause":"Using an older version of dtale (<3.14.0) that does not support the subprocess parameter.","error":"TypeError: show() got an unexpected keyword argument 'subprocess'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}