Assignment 2: COVID-19 Data Wrangling Name: The purpose of this assignment is to hone your data wrangling skills. Your task for this assignment is to perform the data preparation as instructed in the DTSC670_Assignment_2 pdf listed in Brightspace. After performing all the data preparation tasks outlined in the document, run the code in the "Prepare DataFrames for Grading" section. You are supplied an Excel file called BrazilcOVIDData.xlsx - be sure to put the data file in the same directory as this Jupyter Notebook. Please note that it may take around 5 minutes to read-in all of the data in this file. ]: ### ENTER CODE HERE ### # Insert as many cells as you need, but be sure your code is very neat and very well documented. ]: # Get Final Features DataFrame # features = ### ENTER CODE HERE ### # Get Final Response DataFrame # response = ### ENTER CODE HERE ###

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter8: Working With Trendlines, Pivottables, Pivotcharts, And Slicers
Section: Chapter Questions
Problem 8EYW
icon
Related questions
icon
Concept explainers
Question
Prepare DataFrames for Grading
Do not make changes to the below code
After completing all data preparation tasks, run the following four cells to prepare your DataFrame for grading by:
1. Outputting the features and response DataFrames (you do not need to print).
2. Using the NumPy around() function to round all the values in both DataFrames to ZERO decimal places. You are calling these features_round and
response_round , respectively.
3. Computing the sum of every column for both features_round and response_round , and saving those values as features_final and
response_final
Finally, you are printing your final answer using the print() function.
Be sure to run all cells of your notebook prior to submitting, so that all output is rendered, visible and there are no error messages.
In [ ]:
features
In [ ]:
I response
In [ ]:
I features_round = np.around (features, decimals=0)
features_final = features_round.sum(axis=0)
print(features_final)
In [ ]: N response_round = np.around (response, decimals=0)
response_final = response_round.sum(axis=0)
print(response_final)
Transcribed Image Text:Prepare DataFrames for Grading Do not make changes to the below code After completing all data preparation tasks, run the following four cells to prepare your DataFrame for grading by: 1. Outputting the features and response DataFrames (you do not need to print). 2. Using the NumPy around() function to round all the values in both DataFrames to ZERO decimal places. You are calling these features_round and response_round , respectively. 3. Computing the sum of every column for both features_round and response_round , and saving those values as features_final and response_final Finally, you are printing your final answer using the print() function. Be sure to run all cells of your notebook prior to submitting, so that all output is rendered, visible and there are no error messages. In [ ]: features In [ ]: I response In [ ]: I features_round = np.around (features, decimals=0) features_final = features_round.sum(axis=0) print(features_final) In [ ]: N response_round = np.around (response, decimals=0) response_final = response_round.sum(axis=0) print(response_final)
DTSC670: Foundations of Machine Learning Models
Module 1
Assignment 2: COVID-19 Data Wrangling
Name:
The purpose of this assignment is to hone your data wrangling skills. Your task for this assignment is to perform the data preparation as instructed in the
DTSC670_Assignment_2 pdf listed in Brightspace. After performing all the data preparation tasks outlined in the document, run the code in the "Prepare
DataFrames for Grading" section.
You are supplied an Excel file called BrazilcOVIDData.xlsx - be sure to put the data file in the same directory as this Jupyter Notebook. Please note that it
may take around 5 minutes to read-in all of the data in this file.
In [ ]:
N ### ENTER CODE HERE ###
# Insert as many cells as you need, but be sure your code is very neat and very well documented.
In [ ]:
N # Get Final Features DataFrame
# features = ### ENTER CODE HERE ###
# Get Final Response DataFrame
# response = ### ENTER CODE HERE ###
Transcribed Image Text:DTSC670: Foundations of Machine Learning Models Module 1 Assignment 2: COVID-19 Data Wrangling Name: The purpose of this assignment is to hone your data wrangling skills. Your task for this assignment is to perform the data preparation as instructed in the DTSC670_Assignment_2 pdf listed in Brightspace. After performing all the data preparation tasks outlined in the document, run the code in the "Prepare DataFrames for Grading" section. You are supplied an Excel file called BrazilcOVIDData.xlsx - be sure to put the data file in the same directory as this Jupyter Notebook. Please note that it may take around 5 minutes to read-in all of the data in this file. In [ ]: N ### ENTER CODE HERE ### # Insert as many cells as you need, but be sure your code is very neat and very well documented. In [ ]: N # Get Final Features DataFrame # features = ### ENTER CODE HERE ### # Get Final Response DataFrame # response = ### ENTER CODE HERE ###
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L