Answered step by step
Verified Expert Solution
Link Copied!

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 bank_marketing_training data set. Use Python to solve each problem.
16. Log into RamCloud find Thonny and start it up.
17. Type a comment stating that you are working on Chapter 2 exercises.
18. Locate the Run button and note whether there is a keyboard shortcut.
19. Execute the comment from the previous exercise. What is the output? Explain your answer.
20. Import the following packages:
a. Import the pandas and numpy packages. Rename the pandas package pd and rename the numpy package np.
21. Download the data sets from D2L. Import the bank_marketing_training data set and name it bank_train.
22. Create a crosstab table of the variables response and previous_outcome from the bank_train data set. Do not save the output from the code.
23. Rerun the code from the previous exercise, this time saving the output as crosstab_01.
24. After saving the output in the previous exercise, display the output using the name of the saved output.
25. Save the crosstab table under a different name. This time, use your last name and favorite number as the name; for example, larose42.
26. Save the first nine records of the bank_train data set as their own data frame.
27. Save the age and marital records of the bank_train data set as their own data frame.
28. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions

Question

b. Did you suppress any of your anger? Explain.

Answered: 1 week ago

Question

What are the determinants of cash cycle ? Explain

Answered: 1 week ago