subject
Computers and Technology, 19.07.2021 21:10 Edithh

In this problem, we're giving you a file containing some real data from #the Marta (Atlanta's subway system) database. Each line of the file is #a record of a single ride at a specific Marta station. Riders enter and #exit the subway system by tapping a Breeze Card against a gate at a #specific station. # #You can see a preview of what the file will look like in #marta_sample. csv in the dropdown in the top left. Note, however, that #the real dataset is massive: over 200,000 individual rides are recorded. #So, you're going to be dealing with some pretty big data! # #Each line of the file contains six items, separated by commas: # # - the transit day, in MM/DD/ format. # - the transit time, in HH:MM:SS format. # - the device ID, an identifer of the gate at which the rider entered. # - the station ID, a numeric identifier the station. # - the use type, whether the rider was entering, exiting, etc. # - a serial number, the unique identifier of the rider's Breeze Card. # #Your goal is to use this file to answer three questions: # # - What is the average number of Breeze Card taps per station? # - What is the station ID of the station whose traffic is the closest # to that average? # - What station has the least overall amount of traffic? # #Note that you will answer these questions in the fill-in-the-blank #problems below, _not_ in this coding exercise. So, you don't have to #programmatically find the station ID closest to the average: you could #just print all the stations and their averages, then visually check #which is closest to the average. # #To get you started, we've gone ahead and opened the file: marta_file = open('../resource/lib/public/marta_ 01-18-2016.csv', 'r') #You may add whatever code you want from here on to answer those three #questions. # #HINT: although there are six items on each line of the file, you only #need one of them: station ID. If you use split(",") to split up each #line, station ID will be at index 3 on the list. # #

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:10, AleciaCassidy
Consider a direct-mapped cache with 216 words in main memory. the cache has 16 blocks of 8 words each. it is a word-addressable computer (rather than a byte-addressable computer which we normally discuss). (a) how many blocks of main memory are there? (b) what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, cache block, and block offset fields (if they apply)? (c) to which cache block will the memory reference db6316 map?
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, 573589
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
image
Computers and Technology, 23.06.2019 09:00, paulusl19
The first screen you see when you open word2016 what is called?
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, shawn20034
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
You know the right answer?
In this problem, we're giving you a file containing some real data from #the Marta (Atlanta's subway...

Questions in other subjects:

Konu
Geography, 16.10.2020 02:01