From this data frame type of data, I want to get base_date with the last date of the month.
I'm not sure about Python or data frames, but the basic concept is simple. For example, to obtain the last day of
In most languages, a date-time-time zone computable implementation of "1 month plus" or "1 day minus" is provided. For example, PHP has
Python might have something like this. Look it up and try it yourself!
© 2022 pinfo. All rights reserved.