image_output_5.png image_output_4.png image_output_3.png image_output_2.png image_output_1.png
from datetime import datetime

import pandas as pd

def convert_to_date(x):
    return datetime.strptime(x, '%Y %m')
make = pd.read_csv('../input/newcarsalesnorway/norway_new_car_sales_by_make.csv', parse_dates=[['Year', 'Month']], date_parser=convert_to_date)
make = make[['Year_Month', 'Quantity', 'Make']]
make.head(3)