Am having a CSV file as input, In which one of the column has date format as Year-Month. I need to change the column format as Year-Month-Date Format, which implies month end date. Am using Python 3. Further , Also am using the modified column in aggregation function and group by function.
Eg: 2020-01
2020-02
2020-03
2020-04
Expected Result :
2020-01-31
2020-02-29 ( Considering leap Year )
2020-03-31
2020-04-30
so on...