Skip to content

Hassibi501/MathClub-Python-MM-Stats-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this Project?

This project demonstrates my understanding of Pandas, Numpy, and Matplotlib. I created a Pandas data frame that stores the number of M&Ms for each M&M color. Then, I used Pandas and Numpy to create a new row that contains the subtotal for each M&M color. Using the same process, I made another row to count the total number of M&Ms.

Then, I created a visual for the table of the M&M data using Matplotlib. I made a bar graph of the subtotal row of the M&M colors, ranging from greatest to least. I also created a pie chart of the subtotals.

Libraries Needed

  • Matplotlib: A plotting library used to visualize data.
pip install matplotlib
  • Numpy: Has support for large multi-dimensional arrays and matrices. It also has many high-level mathematical functions to operate on Numpy arrays.
pip install numpy
  • Pandas: Used for data manipulation, analysis, and for storing data.
pip install pandas

Showcase Project Features

Main menu
Menu Screenshot

Menu Option #1: Main Data

Creates a visual of the M&M data frame.

Menu Option #2: Bar Graph

Creates a Bar Graph visual of the Subtotal row from greatest to least.

Menu Option #3: Pie Chart

Creates a Pie Chart of the Subtotal row. Menu#3 Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages