Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Python notebook that generates a file containing the following data: Email addresses. Must have an @ Phone numbers Home Address Person's name Year born.

Write Python notebook that generates a file containing the following data:

  • Email addresses. Must have an "@"
  • Phone numbers
  • Home Address
  • Person's name
  • Year born. Use realistic values.
  • Number of kids. Use realistic values.
  • Categorical variable: rent or own?
  • Annual income. Optional challenge: Use a non-uniform distribution
  • Number of speeding tickets in past year. Optional challenge: Use a non-uniform distribution

The user of your notebook should be able to specify how many entities are to be generated.

Do not include the .csv output file in your submission -- the file should be generated dynamically.

Order of columns in CSV is not relevant.

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

Step: 3

blur-text-image

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

In which of the following environments can sound travel fastest?

Answered: 1 week ago

Question

Which type of energy does an object have when it is in motion?

Answered: 1 week ago

Question

The working principle of a washing machine is?

Answered: 1 week ago