I\'m working with Python and I have a list of dates in year-month-day format, and I want to convert it to just year-month. So the beginning of my list looks like this: [\'20