{"version":"1.0","type":"rich","title":"Fitbit cleaner","description":"This example cleans Fitbit activity and sleep data downloaded as CSV files. It loads the data with pandas, removes rows with zero activity calories or zero time in bed, and converts date strings into datetime objects using `datetime.strptime`. It then adds a weekday column via `strftime('%A')`, preparing the data for further analysis or visualization. The script outputs two data frames, one for activities and one for sleep, each with a date and weekday column.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-d3efb667f6f2724410ca7227379d2674?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}