What is the idiomatic way of converting a pandas DateTimeIndex to (an iterable of) Unix Time? This is probably not the way to go:
[time.mktime(t.timetuple()
A summary of other answers:
df[''].astype(np.int64) // 10**9
If you want to keep the milliseconds divide by 10**6 instead
10**6