def _ts_to_dt(timestamp, timezone):
    """Convert a pandas timestamp to a naive UTC python datetime"""
    try:
        timestamp = timestamp.tz_localize(timezone)
    except TypeError:
        pass
    return timestamp.tz_convert('UTC').tz_localize(None).to_pydatetime(warn
        =False)
