DRA Lab Exp4
DRA Lab Exp4
EXPRIMENT-4
NUMPY MODULE
AIM: To implement python program by using numpy module .
SOURCE CODE:
import pandas as pd
data = pd.read_csv('students_roles.csv')
print("Original Dataset:")
print(data)
role_counts = data['role'].value_counts()
print(role_counts)
print(team_leaders)
DATASET DESCRIPTION:
This dataset represents the roles assigned to students in a group project setting. Each student is given a
specific role, which defines their responsibilities within the group. The roles include Team Leader,
Member, and Coordinator. This dataset can be useful for understanding the distribution of
responsibilities among students and analyzing role assignments within a group or team structure.
Columns:
1. student: The name of each student involved in the project.
2. role: The assigned role for each student, representing their position and responsibilities within the group.
Data give below:
student role
Ratnam Member
Vignesh Coordinator
Rajeev Member
OUTPUT:
Original Dataset:
student role
Ratnam Member
Vignesh Coordinator
Rajeev Member
student role
RESULT:
Numpy module developed by using Student and role data set is successfully executed.