FairAvocado

HackPSU project to check if the avocado price is fair. DataSet is from kaggle.com: https://www.kaggle.com/neuromusic/avocado-prices#avocado.csv

Inspiration:

These days sometimes it is hard to tell if the price of avocado is fair or not since U.S. avocado market prices rise sharply and many stores might value them very differently.

What it does:

This program is going to compare the avocado price that user input to the average price of avocado in certain region and certain type, then gives user immediately feedback about if the price of the avocado that user is looking is fair to purchase or not. While running Data_GUI.py, the result will pop up so far, but we will continue to further improve it.

How we built it:

We firstly get a dataset of the avocado price and sales information from Kaggle. Then we clean up and calculate average price of avocado for different regions and types into a new table. Afterward, we use python to write an app and program to compare the user input (region, type, price) to our database. After appropriate analyzing, we provide the result of (fair, unfair) to user.

Challenges we ran into:

We need to figure out how to correctly use the tkinter library. We need to search the documents thoroughly to avoid bugs. We plan to present our result in the box at first, but we find a better way to present our results—pop up windows.

Accomplishments that we’re proud of:

We finally meet our goal!

What we learned:

We learned a lot from troubleshooting and self-learning during the process of creating this program.

What’s next for it:

To build it into a more user-friendly and informative app and include more dataset into our database to do more analysis not only the price of avocado.

Built With:

Python, R, Kaggle Data

Built With

Share this project:

Updates