Skip to content

Commit f6b40dd

Browse files
committed
DOC: release notes
1 parent 94d41a8 commit f6b40dd

File tree

3 files changed

+25
-20
lines changed

3 files changed

+25
-20
lines changed

doc/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ See the package overview for more detail about what's in the library.
125125
visualization
126126
rplot
127127
io
128-
performance
128+
enhancingperf
129129
sparse
130130
gotchas
131131
r_interface

doc/source/release.rst

+5
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ pandas 0.11.1
168168
until success is also valid
169169
- more consistency in the to_datetime return types (give string/array of string inputs) (:issue:`3888`)
170170

171+
**Experimental Feautres**
172+
173+
- Added experimental ``CustomBusinessDay`` class to support ``DateOffsets``
174+
with custom holiday calendars and custom weekmasks. (:issue:`2301`)
175+
171176
**Bug Fixes**
172177

173178
- Fixed an esoteric excel reading bug, xlrd>= 0.9.0 now required for excel

doc/source/v0.11.1.txt

+19-19
Original file line numberDiff line numberDiff line change
@@ -323,27 +323,27 @@ Experimental Features
323323
~~~~~~~~~~~~~~~~~~~~~
324324

325325
- Added experimental ``CustomBusinessDay`` class to support ``DateOffsets``
326-
with custom holiday calendars and custom weekmasks. (GH2301_)
326+
with custom holiday calendars and custom weekmasks. (:issue:`2301`)
327327

328-
.. note::
328+
.. note::
329329

330-
This uses the ``numpy.busdaycalendar`` API introduced in Numpy 1.7 and
331-
therefore requires Numpy 1.7.0 or newer.
332-
333-
.. ipython:: python
334-
335-
from pandas.tseries.offsets import CustomBusinessDay
336-
# As an interesting example, let's look at Egypt where
337-
# a Friday-Saturday weekend is observed.
338-
weekmask_egypt = 'Sun Mon Tue Wed Thu'
339-
# They also observe International Workers' Day so let's
340-
# add that for a couple of years
341-
holidays = ['2012-05-01', datetime(2013, 5, 1), np.datetime64('2014-05-01')]
342-
bday_egypt = CustomBusinessDay(holidays=holidays, weekmask=weekmask_egypt)
343-
dt = datetime(2013, 4, 30)
344-
print dt + 2 * bday_egypt
345-
dts = date_range(dt, periods=5, freq=bday_egypt).to_series()
346-
print Series(dts.weekday, dts).map(Series('Mon Tue Wed Thu Fri Sat Sun'.split()))
330+
This uses the ``numpy.busdaycalendar`` API introduced in Numpy 1.7 and
331+
therefore requires Numpy 1.7.0 or newer.
332+
333+
.. ipython:: python
334+
335+
from pandas.tseries.offsets import CustomBusinessDay
336+
# As an interesting example, let's look at Egypt where
337+
# a Friday-Saturday weekend is observed.
338+
weekmask_egypt = 'Sun Mon Tue Wed Thu'
339+
# They also observe International Workers' Day so let's
340+
# add that for a couple of years
341+
holidays = ['2012-05-01', datetime(2013, 5, 1), np.datetime64('2014-05-01')]
342+
bday_egypt = CustomBusinessDay(holidays=holidays, weekmask=weekmask_egypt)
343+
dt = datetime(2013, 4, 30)
344+
print dt + 2 * bday_egypt
345+
dts = date_range(dt, periods=5, freq=bday_egypt).to_series()
346+
print Series(dts.weekday, dts).map(Series('Mon Tue Wed Thu Fri Sat Sun'.split()))
347347

348348
Bug Fixes
349349
~~~~~~~~~

0 commit comments

Comments
 (0)