bigframes.bigquery.unix_seconds#
- bigframes.bigquery.unix_seconds(input: Series) Series[source]#
Converts a timestmap series to unix epoch seconds
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_seconds(s) 0 86400 1 172800 dtype: Int64
- Parameters:
input (bigframes.pandas.Series) – A timestamp series.
- Returns:
A new series of unix epoch in seconds.
- Return type: