Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import scipy.stats as stats
- import pylab
- stats.probplot(group1,dist='norm',plot=pylab);
- # combine the 2 lists to get overall salary distribution
- marketingLst.extend(financeLst)
- salFrame = pd.DataFrame(marketingLst,columns=['salary'])
- # check normality
- fig, ax = plt.subplots(figsize=(4,4))
- qqplot(salFrame['salary'], fit=True, line='s',ax=ax)
- plt.show(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement