4 Compressed
4 Compressed
(Week 2 )
a) Creation and Loading different types of datasets in Python using the required libraries.
i. Creation using pandas
ii. Loading CSV dataset files using Pandas
iii. Loading datasets using sklearn
● Measures of spread
These functions calculate a measure of how much the population or sample
tends to deviate from the typical or average values.
pstdev() Population standard deviation of data.
pvariance() Population variance of data.
stdev() Sample standard deviation of data.
variance() Sample variance of data.
Program 1:
Program 2:
Program 3:
Program 4:
Program 5:
Program 2:
Program 3:
Program 1:
Program 2:
Program 3:
Program 4:
Program 5:
Program 6:
Handling the missing values:
Program 1:
Program 2:
Program 3:
Program 4:
Program 5:
Program 6:
Program 7:
Program 8:
Program 9:
Program 10:
Program 11: