scipy.stats.normaltest (array, axis = 0) checks if the sample differs from the normal distribution. This function tests the null hypothesis of the population from which the sample was taken.
array: Input array or object having the elements.
axis: Axis along which the normal distribution test is to be computed. By default axis = 0.
Returns: k2 value and P-value for the hypothesis test on data set.
Code # 1: strong>
Normal test for given data: NormaltestResult ( statistic = 146.08066794511544, pvalue = 1.901016994532079e-32)
Code # 2:
Normal test for given data: NormaltestResult (statistic = 344.05533061429884, pvalue = 1.9468577593501764e-75)