plots.plot_numeric_distributions
plots.plot_numeric_distributions(df)Plot distribution histograms for all numeric columns.
Generates a grid of histogram plots to help visualize the distribution, skewness, and potential outliers in each numeric column. This function is intended as a exploratory tool for understanding the shape of the data.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| df | pandas.DataFrame | The input dataset containing numeric columns. | required |
Returns
| Name | Type | Description |
|---|---|---|
| None | Displays histogram plots for each numeric column. |
Examples
>>> import pandas as pd
>>> data = {
... "age": [25, 30, 35, 40, 45],
... "salary": [50000, 60000, 75000, 90000, 120000],
... "department": ["HR", "IT", "IT", "Finance", "HR"]
... }
>>> df = pd.DataFrame(data)
>>> plot_numeric_distributions(df)
# Displays histograms for "age" and "salary"