Adopt Python to Perform Basic Statistical Data Analysis and Visualize the Results
Code for 2020 computer programming PBL (Problem-Based Learning method) project.
Make Python program to analyze data than export an excel document.
Export Excel document will include a table that show all data. Also, will show a visual pie chart in document.
-
Understand and interpret user requirements in real-world contexts properly.
-
At the theoretical level
- Design an appropriate algorithm to perform the analysis to achieve the desired data.
-
At the engineering level
- Manipulate the data in Excel and visualize the results in Pie graph.
-
At the thinking level
- Develop computational thinking, i.e., divide and conquer.
-
Develop independent thinking.
git clone https://github.com/Neko-vecter/Python-PBL-Project-2020.git
About "Method Library"
Method | Definition Description |
---|---|
add_new_e(age, num) | Add new element into list |
remove_old_e() | Remove last element in "age_list" and "num_list" |
times_age() | To count how many times each age appears |
request_unique_age_list() | To return which ages have appeared |
request_score_age_list() | To return average score |
request_times_age_list() | To return how much times appear in list |
s_age_list() | Show and return how many age you input |
s_num_list() | Show and return how many num you input |
bubbles_sort_age() | Bubbles sort age |
request_bubbles_unique_age_list() | Return bubbles unique age list |
request_bubbles_sort_score_list() | Return bubbles score list |
request_bubbles_times_age_list() | Return bubbles age appear list |
avg_s(num, times) | Calculate the average of all ages |
avg_s_age(age, num, times) | Calculate the average of each age score separately |
- If you have problem or code have issue please "Add issues"
- Don’t forget to "Star" if the project is helpful to you