Inspiration
I went hiking and ran a little portion of the hike, and I thought, which portion did I loose more weight on?
What it does
It compares two groups, both ate 5 donuts. One group ran and one group walked the same distance. After the experiment, it shows which group gained less weight.
How we built it
I used a for loop and pandas' iloc function to go through some of the data. Then I stored the total weight gained in a variable that I divided by the number of values I took at the end to get the average weight gained.
Challenges we ran into
It was hard to find the dataset which was in csv format.
Accomplishments that we're proud of
I learned how to use the iloc function so now I can go through data with a for loop.
What we learned
I learned how to use pandas to make a bar graph/plot
What's next for Running or Walking better for loosing weight
I would probably take a few more factors in for loosing weight like the diet you eat or what your age is to decide which exercise is better if I had more time.
Log in or sign up for Devpost to join the conversation.