File tree 1 file changed +26
-1
lines changed
1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -1731,7 +1731,32 @@ def freq(self, value):
1731
1731
is_month_end = _field_accessor (
1732
1732
'is_month_end' ,
1733
1733
'is_month_end' ,
1734
- "Logical indicating if last day of month (defined by frequency)" )
1734
+ """
1735
+ Return a boolean indicating if the date is the last day of the month.
1736
+
1737
+ Returns
1738
+ -------
1739
+ is_month_end : Series of boolean
1740
+
1741
+ See Also
1742
+ --------
1743
+ is_month_start : Returns a boolean indicating if the date is the first day
1744
+ of the month.
1745
+
1746
+ Examples
1747
+ --------
1748
+ >>> dates = pd.Series(pd.date_range("2018-02-27", periods=3))
1749
+ >>> dates
1750
+ 0 2018-02-27
1751
+ 1 2018-02-28
1752
+ 2 2018-03-01
1753
+ dtype: datetime64[ns]
1754
+ >>> dates.dt.is_month_start
1755
+ 0 False
1756
+ 1 True
1757
+ 2 False
1758
+ dtype: bool
1759
+ """ )
1735
1760
is_quarter_start = _field_accessor (
1736
1761
'is_quarter_start' ,
1737
1762
'is_quarter_start' ,
You can’t perform that action at this time.
0 commit comments