Course Hero Logo

Lab4 PRG550.docx - LAB 4: Lab Exercises: Data mining is the...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 2 out of 5 pages.

LAB 4:Lab Exercises:Data mining is the process of sorting through large amounts of dataand pickingout relevant information. Typically used by everyone from financialanalyststo scienstists, data mining is used to extract information from theenormous data sets.These large data sets and the trend of analyzing them has come to beknown as "Big Data"For this lab, you will be required to do some data mining of theprices ofApple stock from 10/07/2011 to 10/06/2021 (consisting of 2516records). Yourprogram will report facts about the monthly highs, lows, averages,etc for thisdata.A file of Apple's daily stock's prices (file name is: aaplStock.csv)will besupplied for you and must be located in the same directory as yourPython program.This file is comma-delimited and consists of records in thefollowing format:Date,Close/Last,Volume,Open,High,Low10/06/2021,$142,83221120,$139.47,$142.15,$138.37NOTE: The first record in the file, will ALWAYS contain the titlewithheadings and does not count as an actual record!Question #1Write the code for a Python function called getRecord that acceptsthename of the file to read and a date in the form: mm/dd/yyyy.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 5 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
NoProfessor
Tags
13 2071 535396186, 17 7739 1498070521, 17 7461 141 2250 135 3117 19 0020, 139 47

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture