Professional Documents
Culture Documents
piio
PROGRAM & OUTPUT:
PROGRAM & OUTPUT:
Creating a data frame using List:
OUTPUT:
IRIS DATA SET:
ALGORITHM:
Step 1: Download the IRIS dataset from the Kaggle website and save in
Documents or any other folder do you want.
Link: https://www.kaggle.com/code/bharath25/descriptive-statistics-and-
machine-learning-iris/data
iris. describe ()
iris.isnull ().sum ()
iris.value_counts (“Species”)
ALGORITHM:
Step 1: Download the Pima Indians Diabetes dataset
Link: https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-database?
resource=download
PROGRAM:
a) Univariate analysis: Frequency, Mean, Median, Mode, Variance,
Standard Deviation, Skewness and Kurtosis.
print (df.shape)
print (df.info ())
BOX PLOT:
a) Normal Curve:
b) Density Plots:
c) Correlation and Scatter plots:
Correlation plot
Scatter plot
d) Histogram:
e) Three Dimensional Plotting:
RESULT:
Thus the program was executed successfully.
AIM:
To create an insight Geographic Data with Basemap.
ALGORITHM:
Step 1: Install Basemap. The zip file occurs extract the original file.
Step 2: import Packages.
Step3: Save that in downloads or any other Folder.
Step 4: Apply these following commands.
Step 5: The Output will display.
plt.figure(figsize=(8, 8))
m = Basemap(projection='ortho', resolution=None, lat_0=50, lon_0=-100)
m.bluemarble(scale=0.5);
fig = plt.figure(figsize=(8, 8))
m = Basemap(projection='lcc', resolution=None,
width=8E6, height=8E6,
lat_0=45, lon_0=-100,)
m.etopo(scale=0.5, alpha=0.5)
1. Kaggle.com
2. UCI.
3. PIMA Indian Diabetes Data Set.