Question: Questions about Python CSV jupiterlab: I have this CSV: 1. All contents of the lower case csv. 2. How I can turn the column of

Questions about Python CSV jupiterlab:

I have this CSV:

Questions about Python CSV jupiterlab: I have this CSV: 1. All contents

1. All contents of the lower case csv.

2. How I can turn the column of 'item-conditions' into a binary, like : "Used = 1", else = 0 ?

3. how I can separate my price column into 2 columns: the column "currency" with only currencies example "US $", and the column "price" only with numbers?

4. When my column "currency" = " AU $", then figure of the column "price" = initial price *0.71

5. How can I only keep the number in "watchers", knowing that I have some cells where the consent '"15watchers15watchers 15watchers"

6. Only the number of "no_of_speed"

1 title item_cc price watchers brand color no_of_speeds bike_type 2 Children's Bike New US $124.72 NA Forward Red / Purple Does Not Apply Kids Bike 3 Elite 20" BMX S New US $269.00 297 watchers BMX White 1 Speed BMX Bike 4 Elite 20" BMX S New US $289.00 218 watchers EliteBMX Black Red NA Freestyle Bike 5 Elite 20" BMX D New US $379.00 783 watchers Elite BMX Neo Chrome NA BMX Bike 6 Cannondale Kill Used US $420.00 NA Cannondale Black NA Mountain Bike 7 1981 Bob Jacks Used AU $1,200.00 NA Bob Jackson NA 21 Speed Touring Bike 8 26/24/20" Adult New US $318.90/ea 15 watchers Unbranded NA 7 Speed Adult Folding Tricycle

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!