Python Programming - Creating DataFrame (Assignment Details) Introduction: In this assignment students are to create a program that allows user to student names and scores, the program is to also allow defining the subject the grades are being entered for. The entered information is to be stored in a DataFrame Instructions: For this assignment, you will do the following Part 1 As explained in the introduction above, the program is for saving student scores for a specific number of tests. First, the program is to ask user how many tests are the grades for. If 3 entered for instance, the program is to ask user to enter test names. This would be used as indices for the grades that will be entered. Next, the program is to ask user the number of students they would like to enter grades for. Then the program is to ask user to enter dictionary information as following: Student Name List of grades (3 grades minimum) Note: it’s important that the program allows entering name and grades for more than one student. Make sure that a dataFrame is created to store all of the information collected. 3. Display the DataFrame content and verify that test names were assigned as labels for each row. An example of the outcome is shown below in the attached image. Submit your finished code solution file(s) through the assignment link below. Note: Write program Pseudocode (detail algorithm) and add it as a comment block to the submitted program.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Python Programming - Creating DataFrame (Assignment Details)
Introduction:
In this assignment students are to create a program that allows user to student names and scores, the program is to also allow defining the subject the grades are being entered for. The entered information is to be stored in a DataFrame
Instructions:
For this assignment, you will do the following
Part 1
As explained in the introduction above, the program is for saving student scores for a specific number of tests.
- First, the program is to ask user how many tests are the grades for. If 3 entered for instance, the program is to ask user to enter test names. This would be used as indices for the grades that will be entered.
- Next, the program is to ask user the number of students they would like to enter grades for. Then the program is to ask user to enter dictionary information as following:
- Student Name
- List of grades (3 grades minimum)
Note: it’s important that the program allows entering name and grades for more than one student.
Make sure that a dataFrame is created to store all of the information collected.
3. Display the DataFrame content and verify that test names were assigned as labels for each row.
An example of the outcome is shown below in the attached image.
Submit your finished code solution file(s) through the assignment link below.
Note: Write program Pseudocode (detail
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images