arensonzz / weight-graph

Plots a graph when given a csv file containing date and person's weight at that day.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use it?

  1. Create a properly formatted csv file containing dates and people weights at that day.
    1. There's an example csv file in the repo. Csv file must have the same format as that file.
    2. When filling the date column, date format is day/month/year
    3. There can be as many person names as you would like.
    4. If a person didn't measure his/her weight that day you can write null into his/her column.
  2. From command-line run:
    python weight_graph.py weight_data.csv person_name
    Ex: python weight_graph.py example_csv_file.csv alex

Dependencies

  • python3
  • matplotlib
    • To install run: pip3 install matplotlib

About

Plots a graph when given a csv file containing date and person's weight at that day.


Languages

Language:Python 100.0%