I'm guessing here, but I believe you are trying to 'bin' your time data into 10 min intervals.
Epoch or Unix time is represented as time in seconds (or more commonly nowadays, milliseconds).
First thing you'll need to do is convert each of your epoch time to minutes.
Assuming you have a DataFrame and your epoch are in seconds:
df['min] = df['epoch'] // 60
Once that is done, you can bin your data using pd.cut:
df['bins'] = pd.cut(df['min'], bins=pd.interval_range(start=df['min'].min()-1, end=df['min'].max(), freq=10))
Notice that -1 on start is to shift the first bin to beginning of each 10 min interval.
You'll have your 'bins', you can rename them to your liking and you can groupby
them.
The solution may not be perfect, but it will possibly get you on the right track.
Good luck!