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

  1. Create DataFrame shape of 500x4 from scratch
    1. Column_1: Generate random 500 floating numbers between 1 and 0
    2. Column_2: Generate random 500 integers between 10 and 1000
    3. Column_3: multiply column_2 with column_1
    4. Column_4: Generate random 500 ordinal values from [A+, B, C, C-]
  2. Get head, tail of the created data
  3. Show mean, max, median for columns 1,2,3
  4. Show Pie plot of categorial feature (column_4)
  5. 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 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!