Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the following exercises, work with the bank _ marketing _ training data set. Use Python to solve each problem. 1 6 . Log into
For the following exercises, work with the bankmarketingtraining data set. Use Python to solve each problem.
Log into RamCloud find Thonny and start it up
Type a comment stating that you are working on Chapter exercises.
Locate the Run button and note whether there is a keyboard shortcut.
Execute the comment from the previous exercise. What is the output? Explain your answer.
Import the following packages:
a Import the pandas and numpy packages. Rename the pandas package pd and rename the numpy package np
Download the data sets from DL Import the bankmarketingtraining data set and name it banktrain.
Create a crosstab table of the variables response and previousoutcome from the banktrain data set. Do not save the output from the code.
Rerun the code from the previous exercise, this time saving the output as crosstab
After saving the output in the previous exercise, display the output using the name of the saved output.
Save the crosstab table under a different name. This time, use your last name and favorite number as the name; for example, larose
Save the first nine records of the banktrain data set as their own data frame.
Save the age and marital records of the banktrain data set as their own data frame.
Save the first three records of the age and marital variables as their own data frame.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started