Skip to content

Doc fix for sas7bdat #12407

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4542,24 +4542,6 @@ whether imported ``Categorical`` variables are ordered.
a ``Categorical`` with string categories for the values that are labeled and
numeric categories for values with no label.

.. _io.other:

Other file formats
------------------

pandas itself only supports IO with a limited set of file formats that map
cleanly to its tabular data model. For reading and writing other file formats
into and from pandas, we recommend these packages from the broader community.

netCDF
''''''

xray_ provides data structures inspired by the pandas DataFrame for working
with multi-dimensional datasets, with a focus on the netCDF file format and
easy conversion to and from pandas.

.. _xray: http://xray.readthedocs.org/

.. _io.sas:

.. _io.sas_reader:
Expand All @@ -4584,11 +4566,11 @@ objects (``XportReader`` or ``SAS7BDATReader``) for incrementally
reading the file. The reader objects also have attributes that
contain additional information about the file and its variables.

Read a SAS XPORT file:
Read a SAS7BDAT file:

.. code-block:: python

df = pd.read_sas('sas_xport.xpt')
df = pd.read_sas('sas_data.sas7bdat')

Obtain an iterator and read an XPORT file 100,000 lines at a time:

Expand All @@ -4605,6 +4587,24 @@ web site.

No official documentation is available for the SAS7BDAT format.

.. _io.other:

Other file formats
------------------

pandas itself only supports IO with a limited set of file formats that map
cleanly to its tabular data model. For reading and writing other file formats
into and from pandas, we recommend these packages from the broader community.

netCDF
''''''

xray_ provides data structures inspired by the pandas DataFrame for working
with multi-dimensional datasets, with a focus on the netCDF file format and
easy conversion to and from pandas.

.. _xray: http://xray.readthedocs.org/

.. _io.perf:

Performance Considerations
Expand Down