-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
SAS xport file reader #9711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAS xport file reader #9711
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ Highlights include: | |
if they are all ``NaN``, see :ref:`here <whatsnew_0170.api_breaking.hdf_dropna>` | ||
- Support for ``Series.dt.strftime`` to generate formatted strings for datetime-likes, see :ref:`here <whatsnew_0170.strftime>` | ||
- Development installed versions of pandas will now have ``PEP440`` compliant version strings (:issue:`9518`) | ||
- Support for reading SAS xport files, see :meth:`~pandas.io.read_sas`. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. make this a link to the section below |
||
Check the :ref:`API Changes <whatsnew_0170.api>` and :ref:`deprecations <whatsnew_0170.deprecations>` before updating. | ||
|
||
|
@@ -37,7 +38,6 @@ New features | |
- Enable writing complex values to HDF stores when using table format (:issue:`10447`) | ||
- Enable reading gzip compressed files via URL, either by explicitly setting the compression parameter or by inferring from the presence of the HTTP Content-Encoding header in the response (:issue:`8685`) | ||
|
||
|
||
.. _whatsnew_0170.gil: | ||
|
||
Releasing the GIL | ||
|
@@ -94,6 +94,13 @@ Other enhancements | |
|
||
- Enable `read_hdf` to be used without specifying a key when the HDF file contains a single dataset (:issue:`10443`) | ||
|
||
- :meth:`~pandas.io.read_sas` provides support for reading SAS XPORT format files: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. make this a separate sub-section (use ^^^^^). put a ref so you can refer from the highlites above. Add in a link the actual docs as well (io.sas) |
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add this in the highlites section (at the top) as well (you can put a link to the actualy docs there as well) |
||
df = pd.read_sas('sas_xport.xpt') | ||
|
||
It is also possible to obtain an iterator and read an XPORT file | ||
incrementally. | ||
|
||
- ``DatetimeIndex`` can be instantiated using strings contains ``NaT`` (:issue:`7599`) | ||
- The string parsing of ``to_datetime``, ``Timestamp`` and ``DatetimeIndex`` has been made consistent. (:issue:`7599`) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need
.. ipython: :python
around each of these blocks to have it exectue, or probably better.. code-block
to have it look like code but not execute