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