Question: Create DataFrame shape of 500x4 from scratch Column_1: Generate random 500 floating numbers between 1 and 0 Column_2: Generate random 500 integers between 10 and
- Create DataFrame shape of 500x4 from scratch
- Column_1: Generate random 500 floating numbers between 1 and 0
- Column_2: Generate random 500 integers between 10 and 1000
- Column_3: multiply column_2 with column_1
- Column_4: Generate random 500 ordinal values from [A+, B, C, C-]
- Get head, tail of the created data
- Show mean, max, median for columns 1,2,3
- Show Pie plot of categorial feature (column_4)
- Filter out rows according to the column_2 having values greater than 300 and column_4 equal to A+
in pyhthon
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
