bigframes.bigquery.unix_millis#

bigframes.bigquery.unix_millis(input: Series) Series[source]#

Converts a timestmap series to unix epoch milliseconds

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_millis(s)
0     86400000
1    172800000
dtype: Int64
Parameters:

input (bigframes.pandas.Series) – A timestamp series.

Returns:

A new series of unix epoch in milliseconds.

Return type:

bigframes.pandas.Series