Activity duration based on Garmin data

How to find the activity to sedentary ratio of a participant using Garmin's epoch.csv file