def _get_tz(tz):
    zone = tslib.get_timezone(tz)
    if zone is None:
        zone = tslib.tot_seconds(tz.utcoffset())
    return zone
for a tz-aware type, return an encoded zone
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/_get_tz