calculate_skewness_and_kurtosis
autogen.agentchat.contrib.captainagent.tools.data_analysis.calculate_skewness_and_kurtosis.calculate_skewness_and_kurtosis
calculate_skewness_and_kurtosis
Calculate the skewness and kurtosis of a specified column in a CSV file. The kurtosis is calculated using the Fisher definition.
The two metrics are computed using scipy.stats functions.
Name | Description |
---|---|
csv_file | The path to the CSV file. Type: str |
column_name | The name of the column to calculate skewness and kurtosis for. Type: str |
Type | Description |
---|---|
tuple | tuple: (skewness, kurtosis) |