Unveiling Stock Data: Navigating Dictionaries to Find Key Metrics

Locate and print the specified date's data from the provided data dictionary.

Learn to efficiently navigate a data dictionary to locate specific stock information such as opening price, daily highs and lows, closing price, and trading volume for Apple. Gain practical skills in extracting targeted data to streamline your analysis.

Key Insights

  • Understand how to navigate and interpret a data dictionary to extract specific details like Apple's stock prices and daily trading volume.
  • Identify and retrieve key stock market data points, including opening, high, low, and closing values, as well as total share volume for a particular date.
  • Practice hands-on data retrieval techniques demonstrated through clear examples and step-by-step guidance provided by Noble Desktop.

Note: These materials offer prospective students a preview of how our classes are structured. Students enrolled in this course will receive access to the full set of materials, including video lectures, project-based assignments, and instructor feedback.

For your first challenge today, I'd like you to take a look at this data dictionary that we got back and try to see if you can find the data for this date. It's on that data variable somewhere and it'll end up being something like this, a dictionary with the opening value for the for Apple at that time, the high that day, the low that day, the close that day, and the total volume of shares that day. If you can navigate that data variable, you can find this.

Python for Data Science Bootcamp: Live & Hands-on, In NYC or Online, Learn From Experts, Free Retake, Small Class Sizes,  1-on-1 Bonus Training. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.

You can find the information on that date and see if you can print it out. We'll come back in just a moment and show you how we did it.

Colin Jaffe

Colin Jaffe is a programmer, writer, and teacher with a passion for creative code, customizable computing environments, and simple puns. He loves teaching code, from the fundamentals of algorithmic thinking to the business logic and user flow of application building—he particularly enjoys teaching JavaScript, Python, API design, and front-end frameworks.

Colin has taught code to a diverse group of students since learning to code himself, including young men of color at All-Star Code, elementary school kids at The Coding Space, and marginalized groups at Pursuit. He also works as an instructor for Noble Desktop, where he teaches classes in the Full-Stack Web Development Certificate and the Data Science & AI Certificate.

Colin lives in Brooklyn with his wife, two kids, and many intricate board games.

More articles by Colin Jaffe

How to Learn Python

Master Python with hands-on training. Python is a popular object-oriented programming language used for data science, machine learning, and web development. 

Yelp Facebook LinkedIn YouTube Twitter Instagram