Skip to content

Instantly share code, notes, and snippets.

View wmp3's full-sized avatar

Trey Pruitt wmp3

View GitHub Profile
@wmp3
wmp3 / fitbit_weight.py
Created January 1, 2022 18:13
Process Fitbit weight json data generated from https://www.fitbit.com/settings/data/export
"""Process Fitbit weight json data generated from https://www.fitbit.com/settings/data/export"""
from pathlib import Path
from typing import List
import pandas as pd
BASE_DIR = Path(__file__).parent
DATA_DIR = BASE_DIR.joinpath("fitbit_weight_data")
@wmp3
wmp3 / dash_datatable_diff.py
Created August 22, 2019 13:44
Plotly Dash DataTable Diff
import dash # 1.1.1
from dash.dependencies import Input, Output, State
import dash_table # 4.1.0
import dash_core_components as dcc # 1.1.1
import dash_html_components as html
from dash.exceptions import PreventUpdate
import numpy as np # 1.17.0
import pandas as pd # 0.25.0