Skip to content

DOC: update the pandas.Series.dt.is_month_start docstring #20146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pandas/core/indexes/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1736,12 +1736,12 @@ def freq(self, value):

See Also
--------
is_month_end : Returns a boolean indicating if the date is the last day of the month.
is_month_end : Returns a boolean indicating if the date is the last day
of the month.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next line should be indented:

        is_month_end : Returns a boolean indicating if the date is the last day
            of the month.


Examples
--------
>>> import pandas as pd
>>> dates = pd.Series(pd.date_range("2018-02-27", periods = 3))
>>> dates = pd.Series(pd.date_range("2018-02-27", periods=3))
>>> dates
0 2018-02-27
1 2018-02-28
Expand Down