bigframes.bigquery.unix_micros#
- bigframes.bigquery.unix_micros(input: Series) Series[source]#
Converts a timestmap series to unix epoch microseconds
Examples:
>>> import bigframes.pandas as bpd >>> import bigframes.bigquery as bbq
>>> s = bpd.Series([pd.Timestamp("1970-01-02", tz="UTC"), pd.Timestamp("1970-01-03", tz="UTC")]) >>> bbq.unix_micros(s) 0 86400000000 1 172800000000 dtype: Int64
- Parameters:
input (bigframes.pandas.Series) – A timestamp series.
- Returns:
A new series of unix epoch in microseconds.
- Return type: