Question: Question 1.7 Open the assignment2data. json file and convert it to csv format as dataframe in pandas. Removing the duplicated rows from dataframe and save


Question 1.7 Open the assignment2data. json file and convert it to csv format as dataframe in pandas. Removing the duplicated rows from dataframe and save as the new dataframe. The meaning of the column is in assignment2data.pdf Create some new features for the dataframe by using below code: df [ ' female_item_rate '] = df [' female_items '] / df [' items ' ] df 'male_item_rate '] = df [' male_items '] / df [ ' items '] df [ ' unisex_items_rate '] = df [' unisex_items '] / df [' items '] . Write a code find out how many rows (customers) could have the value female_item_rate == 1 and the value male_item_rate == 1 and the value orders > 4.11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
