Project overview
In this project, you’ll take on the role of a Python developer tasked with creating an inventory system for an online laptop store. You’ll leverage your skills in Python classes, dictionaries, and binary search algorithms to efficiently represent the store’s inventory data and implement fast queries to answer key business questions.
This hands-on project allows you to apply advanced Python concepts and algorithms to a real-world scenario. You’ll preprocess the inventory data into suitable data structures and develop optimized methods to quickly look up information and check promotional criteria. This project will enhance your ability to work with classes, leverage data structures, and implement searching algorithms, valuable skills for any Python developer.
Objective: Use Python classes, dictionaries, and binary search to build an efficient inventory system that can quickly answer business queries for an online laptop store.
Key skill required
To complete this project, it's recommended to build these foundational skills in Python
- Implementing Python programming fundamentals like variables, control flow, and functions
- Manipulating lists and dictionaries in Python to store and access data
- Applying binary search and sorting algorithms to lists in Python
- Analyzing time and space complexity to characterize algorithm performance
Projects steps
Step 1: The Dataset
Step 2: Inventory Class
Step 3: Finding a Laptop From the Id
Step 4: Improving Id Lookups
Step 5: Comparing the Performance
Step 6: Two Laptop Promotion
Step 7: Optimizing Laptop Promotion
Step 8: Comparing Promotion Functions
Step 9: Finding Laptops Within a Budget
Step 10: Next Steps
Master skills faster with Dataquest
Go from zero to job-ready
Learn exactly what you need to achieve your goal. Don’t waste time on unrelated lessons.
Build your project portfolio
Build confidence with our in-depth projects, and show off your data skills.
Challenge yourself with exercises
Work with real data from day one with interactive lessons and hands-on exercises.
Showcase your path certification
Share the evidence of your hard work with your network and potential employers.
The Dataquest guarantee
Dataquest has helped thousands of people start new careers in data. If you put in the work and follow our path, you’ll master data skills and grow your career.
We believe so strongly in our paths that we offer a full satisfaction guarantee. If you complete a career path on Dataquest and aren’t satisfied with your outcome, we’ll give you a refund.
Recommended projects
Investigative Statistical Analysis – Analyzing Accuracy in Data Presentation
Practice using R to analyze movie ratings data, compare 2015 vs 2016 ratings, and apply sampling and distributions to investigate bias.
Predicting Listing Gains in the Indian IPO Market Using PyTorch
Practice building a regularized deep learning model in PyTorch to predict IPO profitability using real Indian stock market data with advanced evaluation techniques.
Exploring Financial Data using Nasdaq Data Link API
Practice retrieving financial data from APIs, manipulating it with Pandas, and visualizing trends using Python.
NYC Schools Perceptions
Practice data cleaning, analysis, and visualization in R to explore survey data and showcase your skills with R Notebooks.
Investigative Statistical Analysis – Analyzing Accuracy in Data Presentation
Practice statistical analysis in Python to investigate movie rating bias and determine if Fandango inflated ratings.
Building Fast Queries on a CSV
Practice implementing an inventory system for a laptop store using Python classes, dictionaries, and binary search.
Garden Simulator Text Based Game
Practice using OOP, error handling, and randomness in Python to create an interactive gardening game simulator.
Predicting Heart Disease
Practice building a K Nearest Neighbors classifier in Python to predict heart disease risk from patient data.
Word Raider
Practice using Python variables, lists, loops, conditionals, and file handling to build an interactive word-guessing game.
Grow your career with
Dataquest.


