python_proj_1.grade_management_pandas module

class python_proj_1.grade_management_pandas.GradeManagementPandas

Bases: grade_management.GradeManagement

Manage the student’s credits with pandas library

The “GradeManagementPandas” class inherits from the “GradeManagement” class

add_a_new_entry()

Add student info into the student list.

calc_grade(average)

Calculate a grade from the average score

delete_an_entry()

Delete student info from the student list.

find_some_item_from_entry()

Find students and display into the screen.

find_student()

Find student info from the student list. User specifies by which mean they will find studendt. It would be by ID or NAME.

merge_list(new_list)

Merge new list into the student list which is in the from of pandas dataframe

modify_an_entry()

Modify the midterm or fianlterm score. User specify which test score modify.

print_dataframe(df)

Print Pandas dataframe with the specified header

print_the_contents_of_all_entries()

Print the student list into the screen

read_personal_data()

Read data into the student list from the file user specified.

sort_entries()

Sort the student list by the order user specified

write_the_contents_to_the_same_file()

Save the student list into the file that data had been read from. If the file is not specified, ask.