Python Numpy Mini Projects: Simple Attendance System
Attendance system is a common system which marks the student’s entry. when they are getting in to the school or college, it puts the attendance. Present means 1 and absent means 0. Let us implement this program. Implementation: This program creates a student array. Next, attendance entry matrix is created. Attendance analysis is done as follows.. First, attendance percentage for each student is created according to the data. Next, below 75% attendance students are displayed separately. Code: import numpy as np1 # Student names students = np1.array(["Ajay", "Bob", "Charan", "Dia", "Marya", "Henry"]) # Attendance for 6 days (1 = Present, 0 = Absent) attendance = np1.array([ [1, 1, 0, 1, 1, 1], [1, 0, 1, 1, 0, 0], [1, 1, 1, 1, 1, 1], [0, 1, 0, 1, 1, 0], [1, 1, 1, 0, 1, 1],...