Sep-05-2019, 12:57 PM
# TO DO: display the most common month print('The most common month is: ', months[df['month'].mode()[0] - 1].title())This is the line that throws the error "IndexError: index out of bounds"
so you need to have a closer look at that line.