VOOZH about

URL: https://www.geeksforgeeks.org/pandas/pandas-series-dt-is_month_start/

⇱ Pandas Series dt.is_month_start | Check if Date is First Day of Month - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Pandas Series dt.is_month_start | Check if Date is First Day of Month

Last Updated : 11 Jul, 2025

The dt.is_month_start attribute returns a boolean value indicating whether the date is the first day of the month.

Example

Output:

👁 Image

Syntax

Syntax: Series.dt.is_month_start 

Parameter: None 

Returns: Series of boolean values

How to Check if Date is First Day in Month in Pandas Series

To check for the dates that are first in their respective months in the Pandas Series we use the dt.is_month_start attribute of the Pandas library in Python.

Let us understand it better with an example:

Example:

Use the Series.dt.is_month_start attribute to check if the dates in the underlying data of the given series object are the start of the month or not.

Output :

👁 datetime series created

Now we will use the Series.dt.is_month_start attribute to check if the dates in the given series object are the start of the month or not.

Output :

👁 checked if dates are first day of months

As we can see in the output, the Series.dt.is_month_start attribute has successfully accessed and returned boolean values indicating whether the dates are the start of the month or not. 

Comment

Explore