Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!