Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

borderCrossing.csv file example: To do the following project, you must use the file called borderCrossing.csv. Do NOT convert the file to an excel format, you

image text in transcribed

borderCrossing.csv file example:

image text in transcribed

To do the following project, you must use the file called borderCrossing.csv. Do NOT convert the file to an excel format, you will receive a ZERO if you do not read the data from a csv file. Write a program to do the following: . Read the data from the borderCrossing.csv file. Under the Border column, change the following data: o "US-Canada Border to Canadian" US-Mexico Border" to "Mexican" Under the Measure column, change the following data: "Rail Containers Empty" and "Rail Containers Full" to "Rail Containers." Truck Containers Empty" and "Truck Containers Full to Truck Containers" Once you've changed the data in the two columns above, create an Excel file named "BorderCrossingClean.xlsx". Only copy the data from the following columns in the order below: o Border o Port Name O State o Date 0 Measure O Value Please note that you will NOT be copying the Port Code and the Location columns. For full credit, you must include your header in your python file, including the create date and your name! Save the program as a *py file and upload the both the python file and your Excel file (BorderCrossingClean.xlsx) to blackboard. L M N O P Q R S T B C D E F G H K 1 Port Nam.State Port Code Border Date Measure Value Location 2 Calexico E California 2507 US-Mexicc ######## Trucks 34447 POINT (-115.48433000000001 32.67524) 3 Van Burer Maine 108 US-Canadi ######## Rail Conta 428 POINT (-67.94271 47.16207) 4 Otay Mesi California 2506 US-Mexic ######## Trucks 81217 POINT (-117.05333 32.57333) 5 Nogales Arizona 2604 US-Mexice ######## Trains 62 POINT (-110.93361 31.340279999999996) 6 Trout Rive New York 715 US-Canadi ######## Personal 16377 POINT (-73.44253 44.990010000000005) 7 Madawasi Maine 109 US-Canadi ######## Trucks 179 POINT (-68.3271 47.35446) 8 Pembina North Dak 3401 US-Canadi ######## Bus Passe 1054 POINT (-97.24333 48.96639) 9 Progreso Texas 2309 US-Mexice ######## Truck Con 1808 POINT (-97.94889 26.061670000000003) 10 Portal North Dak 3403 US-Canadi ######## Rail Conta 6685 POINT (-102.54917 48.99583) 11 Champlait New York 712 US-Canadi ######## Trucks 24759 POINT (-73.44694 44.98639) 12 Opheim Montana 3317 US-Canadi ######## Personal 235 POINT (-106.40265 48.85574) 13 Neche North Dak 3404 US-Canadi ######## Trucks 584 POINT (-97.55444 48.98611) 14 Lancaster Minnesot: 3430 US-Canadi ######## Personal 1612 POINT (-96.82024 48.84911000000001) 15 Derby Line Vermont 209 US-Canadi ######## Buses 80 POINT (-72.09944 45.005) 16 Sarles North Dak 3409 US-Canadi ######## Personal 509 POINT (-98.99457 48.941050000000004) 17 Wildhorse Montana 3323 US-Canadi ######## Truck Con 122 POINT (-109.67761 48.54863) 18 Derby Line Vermont 209 US-Canadi ######## Truck Con 6483 POINT (-72.09944 45.005) 19 Lynden Washingto 3023 US-Canadi ######## Pedestriai 79 POINT (-122.44316000000002 48.94802) 20 Vancebor Maine 105 US-Canadi ######## Pedestrial 3 POINT (-67.42955 45.55984) 21 San Ysidro California 2504 US-Mexice ######## Bus Passe 7779 POINT (-117.02666999999998 32.54306) 22 Scobey Montana 3309 US-Canadi ######## Personal 325 POINT (-105.44272 48.80707) 22 Doochor Marmont 0 06 US Canad. HHHHHHHH Trucke 001 DOINTI 71 10661 15 000 borderCrossing +

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions