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:
- Create DataFrame shape of 300x5 from scratch
- Column_1: Generate random 300 floating numbers between 1 and 0
- Column_2: Generate random 300 integers between 10 and 1000
- Column_3: multiply column_2 with column_1
- Column_4: Generate random 300 Ordinal categorical variable with three unique values
- 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
Get step-by-step solutions from verified subject matter experts
