ASSESSMENT GUIDE Unit: ITEC102 Python fundamentals for data science, Semester 2, 2021 Assessment number (2) Assessment Artefact: Python Codes and Comments Weighting [30%] Why this assessment? What are...

1 answer below »
Won't let me paste files, will send in follow up message


ASSESSMENT GUIDE Unit: ITEC102 Python fundamentals for data science, Semester 2, 2021 Assessment number (2) Assessment Artefact: Python Codes and Comments Weighting [30%] Why this assessment? What are the types of employability skills that I will acquire upon completion of this assessment? Assessment Overview: Purpose, as written in the EUO Due date: 15/10/2021, 5pm, on Friday of Week 11 Weighting: 30% Length and/or format: Python codes,comments and markdown in jupyter notebook Learning outcomes assessed LO2 Graduate attributes assessed GA5, GA10 How to submit: task submission – via LEO Return of assignment: Via LEO within 2 weeks of submission Assessment criteria: Rubric: see end of document • The purpose is to assess students’ use of Python basics, e.g., lists and functions, as well as Python data science libraries NumPy and Pandas to explore data. Skill Type Developed critical and analytical thinking ☒ Developed ability to solve complex problems ☐ Developed ability to work effectively with others ☐ Developed confidence to learn independently ☒ Developed written communication skills ☒ Developed spoken communication skills ☐ Developed knowledge in the field study ☐ Developed work-related knowledge and skills ☒ 2 Context Data processing lab practical with Python basics and Python libraries NumPy and Pandas Coronavirus disease 2019 (COVID-19) is a contagious disease caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The first case was identified in Wuhan, China, in December 2019. The disease has since spread worldwide, leading to an ongoing pandemic. Monitoring the spread of the coronavirus disease is expected to monitor epidemiological trends, rapidly detect new cases, and based on this information, provide epidemiological information to conduct risk assessment and guide disease preparedness. In this practical you will have the chance to do initial exploratory about a COVID-19 dataset with learned skills of Python basics and Python data science libraries NumPy and Pandas. Instructions Download COVID-19 dataset in csv format, and are required to do below tasks: download csv data with pandas with below code: import pandas as pd deaths_df = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID- 19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv') 1. (5 marks) Good structure of Python Jupyter Notebook a. Containing title cells, subtitle cells. b. Python codes are reasonably separated into groups (code cells) with functionalities. c. Containing meaningful comments and sensible variable and function names. 2. (5 marks) Read in csv data with pandas 3. (5 marks) Display first 5 rows of the loaded data (2 marks) and do a short summary about the data (3 marks) 4. (5 marks) Get daily confirmed cases worldwide (hint: summarize daily confirmed cases over all countries.) 5. (5 marks) Get daily increasement of confirmed cases via defining a function (hint: use the confirmed cases of today minus the confirmed cases of yesterday from the data obtained in task 4.) 6. (5 marks) Visualize the data obtained in task 4 with library matplotlib Structure Prepare a jupyter notebook for this assignment. The structure of the Jupyter notebook should alternate texts and python codes and cover topics listed the in specific tasks above. One template could be found in any week’s workshop resources in LEO. How do I submit? Submit Jupyter notebook (.ipynb) to Assessment 2 via LEO assessment tile Note that: The code will be compared to other students’ submission in Turnitin to make sure the submission satisfies 3 academic integrity. Submission checklist I have formatted my report as per the specifications ☐ I have checked my Turnitin report and taken appropriate actions to ensure that the submission satisfies academic integrity ☐ I have actioned feedback advice provided to me from labs feedback (if applicable) ☐ I have submitted my work before the due date/time ☐ I have submitted feed forward template along with my assignment submission ☐ Feed Forward Template (example) A template for students to use and act on feedback and provide recommendations for improvement. You can also submit anonymously via this link: https://acu.qualtrics.com/jfe/form/SV_24OsboLZP15pid0 Note This is a task for any instance of follow-on assignment (assessment 2 and 3). This must be submitted as the first page of the follow-on assignment (assessment 2 and 3) to ensure you acted on the feedback provided to you in the previous assignment (this is not counted as part of the assessment word count). How did you act on the feedback? Feedback is an important component of learning. Please consider the feedback you received in your last assignment and provide a response on how you acted on, or intend to act upon, that feedback, and how it has informed the current assignment task. Submit this sheet along with your assignment. Questions Your learning from the previous assignment feedback How have you acted on the feedback from previous assignment to improve your work in this assignment? (e.g. based on my previous feedback, I made sure that I supported my discussion, position, ideas, concepts with peer reviewed journal references in this assignment) What is your expectation around the type of feedback that enhances your learning? (e.g. I want to know where I made a mistake and how I can correct them and not make the same mistake again i.e. I want specific feedback that will help me to improve my learning and performance in the next assignment) Did you have any difficulty understanding or acting on previous feedback? Please be as specific as possible so that you can gain further feedback/clarify anything you do not understand in the feedback (e.g. feedback provided in my previous assignment was very generic I did not know how to improve my work. So, I would like the teacher to explain more on xxxx aspects of the feedback or I would like an opportunity to have a dialogue to understand the feedback) https://acu.qualtrics.com/jfe/form/SV_24OsboLZP15pid0 4 Some Helpful Websites and Resources LEO weekly materials Anaconda environment https://docs.anaconda.com/anaconda/ Python official website https://www.python.org/ Useful python packages: NumPy https://numpy.org/ Pandas https://pandas.pydata.org/ Who can help me? Academic skills Unit (ASU) Places – NLiC Maoying Qiao ([email protected]) Lecturer Wen Shao ([email protected]) Lab demonstrator/Online consultation – Dr Zijing Chen ([email protected]) I’m having problems Special Consideration: This form is used by students to apply for Special Consideration for assessable work in studies at Australian Catholic University. Approval of such applications will only be granted to students who are legitimately disadvantaged in their assessment due to exceptional and unforeseen circumstances beyond their control. Referencing N/A Criteria The full criteria is compiled in a rubric, which can be found on the following page/s. https://docs.anaconda.com/anaconda/ https://www.python.org/ https://numpy.org/ https://pandas.pydata.org/ mailto:[email protected] https://units.acu.edu.au/__data/assets/word_doc/0006/620655/SC_Application_for_Special_Consideration_20180214.docx 5 Rubric for Assessment 2 Relevant LO/GAs Criterion (related to a single GA from the related LO – one GA per criterion Does not meet expectations Meets expectations Exceeds expectations NN (0-49) PA (50-64) CR (65-74) DI (75-84) HD (85-100) GA5 LO2 Weight=15 marks TL=3 Learning stage = I and D Demonstrate skills of correct understanding and use of Python basics including data structures e.g., lists, control flow e.g. if-else and loops as well as functions Fail to adequately demonstrate skills of correct understanding and use of Python basics including data structures e.g., lists, control flow e.g. if-else and loops as well as functions and fail to implement any required tasks (0 – 7.35) Adequately demonstrate skills of correct understanding and use of Python basics including data structures e.g., lists, control flow e.g. if-else and loops as well as functions and correctly implement at least tasks 1 & 4 (7.5-9.6) Credibly demonstrate skills of correct understanding and use of Python basics including data structures e.g., lists, control flow e.g. if-else and loops as well as functions and correctly implement at least tasks 1 & 2 & 4 (9.75 – 11.1) Distinctively demonstrate skills of correct understanding and use of Python basics including data structures e.g., lists, control flow e.g. if-else and loops as well as functions and correctly implement at least tasks 1 & 2 & 4 & 5 (11.25 – 12.6) Highly distinctively demonstrate skills of correct understanding and use of Python basics including data structures e.g., lists, control flow e.g. if-else and loops as well as functions and correctly implement all required tasks (12.75 – 15) GA10 LO2 Weight=15 marks TL=3 Learning stage = I and D Demonstrate skills of correct understanding and use of Python data science libraries NumPy and Pandas to prepare and explore data Fail to adequately demonstrate skills of correct understanding and use of Python data science libraries NumPy and Pandas to prepare and explore data and fail to achieve any above tasks. (0 – 7.35) Adequately demonstrate skills of correct understanding and use of Python data science libraries NumPy and Pandas to prepare and explore data and correctly achieve at least the assignment tasks 1 & 3. (7.5-9.6) Credibly demonstrate skills of correct understanding and use of Python data science libraries NumPy and Pandas to prepare and explore data and correctly achieve at least the assignment tasks 1 & 3 & 4 (9.75 – 11.1) Distinctively demonstrate skills of correct understanding and use of Python data science libraries NumPy and Pandas to prepare and explore data and correctly achieve at least the assignment tasks 1 & 3 & 4 & 5 (11.25 – 12.6) Highly distinctively demonstrate skills of correct understanding and
Answered 6 days AfterOct 05, 2021

Answer To: ASSESSMENT GUIDE Unit: ITEC102 Python fundamentals for data science, Semester 2, 2021 Assessment...

Darshan answered on Oct 12 2021
131 Votes
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"id": "e1823cad",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"ITEC102 Python fundamentals for data science\n",
"\n",
"\n"
]
}
],
"source": [
"#program start\n",
"print(\"ITEC102 Python fundamentals for data science\")\n",
"print(\"\")\n",
"print(\"\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "a131cac6",
"metadata": {},

"outputs": [],
"source": [
"#import pandas module\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "7de178dc",
"metadata": {},
"outputs": [],
"source": [
"#import numpy module\n",
"import numpy as np\t"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "03f47f91",
"metadata": {},
"outputs": [],
"source": [
"#read csv file\n",
"deaths_df = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv')\t\n",
"df = pd.DataFrame(deaths_df)\t"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "2e2a176b",
"metadata": {},
"outputs": [],
"source": [
"#find column\n",
"col = len(df.columns)\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n",
"#print(\"Column\")\n",
"#print(col)\n",
"\n",
"#find rows\t\n",
"row = len(df.index)\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n",
"#print(\"Rows\")\n",
"#print(row)"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "aa12e62b",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Display first 5 rows of the loaded data\n",
" Province/State Country/Region Lat Long 1/22/20 1/23/20 \\\n",
"0 NaN Afghanistan 33.93911 67.709953 0 0 \n",
"1 NaN Albania 41.15330 20.168300 0 0 \n",
"2 NaN Algeria 28.03390 1.659600 0 0 \n",
"3 NaN Andorra 42.50630 1.521800 0 0 \n",
"4 NaN Angola -11.20270 17.873900 0 0 \n",
"\n",
" 1/24/20 1/25/20 1/26/20 1/27/20 ... 10/1/21 10/2/21 10/3/21 \\\n",
"0 0 0 0 0 ... 7206 7206 7206 \n",
"1 0 0 0 0 ... 2705 2710 2713 \n",
"2 0 0 0 0 ... 5815 5819 5822 \n",
"3 0 0 0 0 ... 130 130 130 \n",
"4 0 0 0 0 ... 1567 1574 1577 \n",
"\n",
" 10/4/21 10/5/21 10/6/21 10/7/21 10/8/21 10/9/21 10/10/21 \n",
"0 7212 7214 7220 7221 7221 7221 7225 \n",
"1 2713 2725 2734 2746 2753 2759 2768 \n",
"2 5826 5831 5838 5843 5846 5850 5853 \n",
"3 130 130 130 130 130 130 130 \n",
"4 1577 1587 1598 1603 1613 1618 1622 \n",
"\n",
"[5 rows x 632 columns]\n"
]
}
],
"source": [
"#Display first 5 rows of the loaded data\n",
"print(\"Display first 5 rows of the loaded data\")\n",
"df_first_5 = deaths_df.head(5)\n",
"print(df_first_5)\n"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "b193420e",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Display short summary of 5 rows of the loaded data\n",
"\n",
"RangeIndex: 5 entries, 0 to 4\n",
"Columns: 632 entries, Province/State to 10/10/21\n",
"dtypes: float64(2), int64(628), object(2)\n",
"memory usage: 24.8+ KB\n",
"None\n"
]
}
],
"source": [
"#short summary about the data\n",
"print(\"Display short summary of 5 rows of the loaded data\")\n",
"df_info = df_first_5.info()\n",
"print(df_info)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "eb0a4e5f",
"metadata": {},
"outputs": [],
"source": [
"#function to get daily increasement of confirmed cases\n",
"def count_case():\n",
"\ttoday = df.iloc[:, col-1].sum()\n",
"\tyesterday = df.iloc[:, col-2].sum()\n",
"\tprint(\"Daily increasement of confirmed cases :\")\n",
"\tprint((today-yesterday))"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "336cd4bf",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Daily increasement of confirmed cases :\n",
"4480\n"
]
}
],
"source": [
"#call function to get daily count\n",
"count_case()"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "a467b339",
"metadata": {},
"outputs": [],
"source": [
"#import matplotlib module\n",
"import matplotlib.pyplot as plt"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "0e703a0c",
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"image/png":...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here