How to include end date in pandas date_range method? : <p>From <code>pd.date_range('2016-01', '2016-05', freq='M', ).strftime('%Y-%m')</code>,  the last month is <code>2016-04</code>, but I was expecting it to be <code>2016-05</code>. It seems to me this function is behaving like the <code>range</code> method, where the end parameter is not included in the returning array. </p>

<p>Is there a way to get the end month included in the returning array, without processing the string for the end month?</p>
