You are on page 1of 2

EXPERIMENT NO 01

Student Name: Roll No:


Remarks: Grade:
Lab Instructor Signatures: Date:

OBJECTIVES:

 Read in a structured dataset such as iris


 Investigate and Analyze the dataset
 Transform the dataset into suitable format for data analysis

Tools:
Anaconda – a python distribution
Pandas – a data analysis library

Activity 01: Read in iris dataset

Activity 02: Gather information about the dataset

1. Iris

Output: produce the output and discuss its results.

2. iris.data

Output: produce the output and discuss it.

3. iris.target

Output: produce the output and describe its importance.

4. iris.feature_names

Output: What is significance of this statement?

5. iris.target_names

Compare iris.target vs iris.target_names

6. iris.DESCR
Output: produce the output and discuss its results

7. Find out the dimensions of the given dataset

Record the Output and comment about your understanding and analysis:

8. Determine the data type of each series in the given dataset

Record the Output and comment about your understanding and analysis:

9. Calculate statistics of the dataset

Record the Output and comment about your understanding and analysis:

Activity 03: Converting the input dataset into a pandas DataFrame

Lab Task(s)

1. Read in iris dataset from the following link and generate the same results as
demonstrated in Lab.

 'http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data'

2. Also save the downloaded dataset file onto your hard disk.
3. Administer system not to show column attributes when using head( ), tail( ), etc.
methods.

You might also like