Skip to content

Instantly share code, notes, and snippets.

View lo-scozzese's full-sized avatar

David Anderson lo-scozzese

  • JRC
  • Belgium
View GitHub Profile
@lo-scozzese
lo-scozzese / garmin_json.py
Last active January 14, 2024 12:57
Python script to convert Garmin weight data from JSON format to CSV, and also display a matplotlib chart
#%% import dependencies
# Python script to convert Garmin weight data from JSON format to CSV, and also display a matplotlib chart.
# Save Garmin data as 'garmin.json' in the same directory as this python file.
import json, time, os, sys
import datetime as dt
from matplotlib import pyplot as plt