def to_utc(time_str):
 return pd.Timestamp(time_str, tz='US/Eastern').tz_convert('UTC')

def to_utc ( time_str ) : return pd . Timestamp ( time_str , tz = 'US/Eastern' ) . tz_convert ( 'UTC' )
convert a string in us/eastern time to utc .