plot_distribution_comparison
Compare distribution shapes across categories by overlaying KDE plots of a numeric column per group, a clearer alternative to separate histograms.
Instructions
Overlay KDE distributions of a numeric column for different groups. Better than separate histograms for comparing distribution shapes across categories. Example: plot_distribution_comparison(column="Revenue", by="CargoType")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| column | Yes | ||
| df_name | No | ||
| save_path | No | ||
| top_n_groups | No |