Question: Hi team, can you create a python programs for: Create DataFrame shape of 300x5 from scratch Column_1: Generate random 300 floating numbers between 1 and

Hi team, can you create a python programs for:

  1. Create DataFrame shape of 300x5 from scratch
    1. Column_1: Generate random 300 floating numbers between 1 and 0
    2. Column_2: Generate random 300 integers between 10 and 1000
    3. Column_3: multiply column_2 with column_1
    4. Column_4: Generate random 300 Ordinal categorical variable with three unique values
    5. Column_5: Generate random 300 Nominal categorical variable with two unique values

Please submit as text file as a python program and not as screenshot.

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 Databases Questions!