Premium problem32. Business-Day Series of 2015

Easy Locked

Create a DatetimeIndex containing each business day of 2015 and use it to index a Series. For reproducibility, use the values 0, 1, 2, … (instead of random numbers). Return the Series.

Output

2015-01-01      0
2015-01-02      1
2015-01-05      2
2015-01-06      3
2015-01-07      4
             ... 
2015-12-25    256
2015-12-28    257
2015-12-29    258
2015-12-30    259
2015-12-31    260
Freq: B, Length: 261, dtype: int64

Premium problem

This one's part of Premium. Unlock the full Pandas track plus every other premium problem on the site.

Implement solve(...)