DatetimeIndex.
is_month_end
Indicates whether the date is the last day of the month.
Returns a Index with boolean values.
See also
is_month_start
Return a boolean indicating whether the date is the first day of the month.
Examples
>>> idx = ps.date_range("2018-02-27", periods=3) >>> idx.is_month_end Index([False, True, False], dtype='object')