def unix_time(dt):
    epoch = datetime.datetime.utcfromtimestamp(0)
    delta = dt - epoch
    return delta.total_seconds()
dataset/ETHPy150Open hgascon/pulsar/pulsar/utils/preprocessing/tcpflow2drk.py/unix_time/original