Skip to content

Commit 8e15810

Browse files
committed
DOC: doc/setup fixes for pandas-dev#9711
1 parent 7ed0b26 commit 8e15810

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

doc/source/whatsnew/v0.17.0.txt

+11-2
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,22 @@ The string format is as the python standard library and details can be found `he
9090
Support for SAS XPORT files
9191
^^^^^^^^^^^^^^^^^^^^^^^^^^^
9292

93-
:meth:`~pandas.io.read_sas` provides support for reading SAS XPORT format files:
93+
:meth:`~pandas.io.read_sas` provides support for reading *SAS XPORT* format files. (:issue:`4052`).
94+
95+
.. code-block:: python
9496

9597
df = pd.read_sas('sas_xport.xpt')
9698

9799
It is also possible to obtain an iterator and read an XPORT file
98100
incrementally.
99101

102+
.. code-block:: python
103+
104+
for df in pd.read_sas('sas_xport.xpt', chunksize=10000)
105+
do_something(df)
106+
107+
See the :ref:`docs <io.sas>` for more details.
108+
100109
.. _whatsnew_0170.enhancements.other:
101110

102111
Other enhancements
@@ -647,5 +656,5 @@ Bug Fixes
647656
- Bug in ``pd.DataFrame`` when constructing an empty DataFrame with a string dtype (:issue:`9428`)
648657
- Bug in ``pd.unique`` for arrays with the ``datetime64`` or ``timedelta64`` dtype that meant an array with object dtype was returned instead the original dtype (:issue: `9431`)
649658
- Bug in ``DatetimeIndex.take`` and ``TimedeltaIndex.take`` may not raise ``IndexError`` against invalid index (:issue:`10295`)
650-
- Bug in ``Series([np.nan]).astype('M8[ms]')``, which now returns ``Series([pd.NaT])`` (:issue:`10747`)
659+
- Bug in ``Series([np.nan]).astype('M8[ms]')``, which now returns ``Series([pd.NaT])`` (:issue:`10747`)
651660
- Bug in ``PeriodIndex.order`` reset freq (:issue:`10295`)

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ def pxd(name):
530530
'tests/data/legacy_pickle/*/*.pickle',
531531
'tests/data/legacy_msgpack/*/*.msgpack',
532532
'tests/data/*.csv*',
533+
'tests/data/*.XPT',
533534
'tests/data/*.dta',
534535
'tests/data/*.txt',
535536
'tests/data/*.xls',

0 commit comments

Comments
 (0)