bigframes.bigquery.last_day#

bigframes.bigquery.last_day(date_expression: Series | Expression | Literal[Sentinel.ARGUMENT_DEFAULT] | date, date_part: Series | Expression | Literal['YEAR', 'ISOYEAR', 'QUARTER', 'MONTH', 'WEEK', 'ISOWEEK', 'DAY', 'DAYOFWEEK', 'DAYOFYEAR', 'HOUR', 'MINUTE', 'SECOND', 'MILLISECOND', 'MICROSECOND'] | Literal[Sentinel.ARGUMENT_DEFAULT] = Sentinel.ARGUMENT_DEFAULT) → Series | Expression[source]#

Returns the last day from a date expression. This is commonly used to return the last day of the month.