I have a following kind of pandas.DataFrame:
sales_with_missing = pd.DataFrame({'month':[1,2,3,6,7,8,9,10,11,12],'code':[111]*10, 'sales':[np.random.randint(1500) for _ in np.arange(10)]})
You can see records for April and May are missing, and I'd like to insert sales as zero for those missing records:
sales = insert_zero_for_missing(sales_with_missing)
print(sales)
How can I implement the insert_zero_for_missing method?

