How fbdesignpro/sweetviz works
Sweetviz is a Python exploratory-data-analysis library: users pass one or more pandas dataframes to analyze, compare, or compare within a dataset, optionally mark a target, then render a self-contained HTML or notebook report. The central report coordinates feature typing and per-feature summaries, target/comparison statistics, and pairwise associations; visualization and HTML rendering turn those results into a report. The graph retains documented capabilities, but some internal links are omitted where excerpts or the source index do not establish the caller. Only sampled source and README relationships are used as evidence.
Main entry points: dataframe_report.py Report coordinator · series_analyzer.py Feature analysis · sv_public.py Public functions · sv_html.py HTML renderer
Components 21
Public API
- Public functions
sweetviz/sv_public.py - Feature overrides
sweetviz/feature_config.py
Data Analysis
- Report coordinator
sweetviz/dataframe_report.py - Feature data model
sweetviz/sv_types.py - Type inference
sweetviz/type_detection.py - Feature analysis
sweetviz/series_analyzer.py - Numeric summaries
sweetviz/series_analyzer_numeric.py - Categorical summaries
sweetviz/series_analyzer_cat.py - Text summaries
sweetviz/series_analyzer_text.py - Mixed-type associations
sweetviz/from_dython.py
Visualization
- Association graph
sweetviz/graph_associations.py - Categorical charts
sweetviz/graph_cat.py - Numeric charts
sweetviz/graph_numeric.py - Graph rendering base
sweetviz/graph.py
Report Presentation
- HTML renderer
sweetviz/sv_html.py - Display formatters
sweetviz/sv_html_formatters.py - Report templates
sweetviz/templates
Other components
- Analyst
- HTML report
- Notebook display
- Comet.ml
Connections 24
- Analyst → Public functions: calls
README.md - Public functions → Report coordinator: creates
sweetviz/sv_public.py - Analyst → Feature overrides: configures
README.md - Public functions → Feature overrides: accepts
sweetviz/__init__.py - Report coordinator → Feature overrides: uses
sweetviz/dataframe_report.py - Report coordinator → Feature data model: builds
sweetviz/dataframe_report.py - Report coordinator → Type inference: infers types
- Report coordinator → Feature analysis: analyzes features
sweetviz/dataframe_report.py - Feature analysis → Numeric summaries: dispatches
sweetviz/series_analyzer.py - Feature analysis → Categorical summaries: dispatches
sweetviz/series_analyzer.py - Feature analysis → Text summaries: dispatches
sweetviz/series_analyzer.py - Report coordinator → Mixed-type associations: computes associations
sweetviz/dataframe_report.py - Report coordinator → Association graph: requests graph
sweetviz/dataframe_report.py - Categorical summaries → Categorical charts: builds charts
sweetviz/series_analyzer_cat.py - Numeric summaries → Numeric charts: builds charts
sweetviz/series_analyzer_numeric.py - Categorical charts → Graph rendering base: extends
sweetviz/graph_cat.py - Numeric charts → Graph rendering base: extends
sweetviz/graph_numeric.py - Association graph → Graph rendering base: extends
sweetviz/graph_associations.py - Report coordinator → HTML renderer: renders report
sweetviz/dataframe_report.py - HTML renderer → Report templates: loads templates
sweetviz/sv_html.py - HTML renderer → Display formatters: formats values
sweetviz/sv_html.py - Report coordinator → HTML report: writes HTML
README.md - Report coordinator → Notebook display: supports display
README.md - Report coordinator → Comet.ml: logs to
sweetviz/dataframe_report.py