I have a DataFrame with DateTimeIndex, for 10 years, day by day. I need to extract rows which corresponds to first day of each month. However not all months starts with 01, some starts with 02, 03, 04 etc.
2020-01-02
2020-01-03
...
2020-01-31
2020-02-03
...
2020-02-29
2020-03-02
Expected df must be:
2020-01-02
2020-02-03
2020-03-02
Any suggestions how to do that?