开始使用免费开始使用

Normality of groups

Now that you've established equal variance, the next condition to check for is normality of the funding in each industry.

In this exercise, you'll visualize and compare data with and without normality. Although these visualizations can be created with plt.hist(), for this exercise, you'll practice using the .plot() argument on a DataFrame, with the arguments kind and alpha.

The three DataFrames you created (biotech_df, enterprise_df and ecommerce_df) have been loaded for you. The packages pandas as pd, NumPy as np, Matplotlib as plt, and the stats package from SciPy have all been loaded as well.

本练习是课程的一部分

Foundations of Inference in Python

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Plot a histogram of the funding for each industry
____.plot(kind=____, alpha=____)
____.plot(____)
____.plot(____)
plt.show()
编辑并运行代码