Skip to content

Commit 8ba57ce

Browse files
committed
doc fix for sas7bdat
1 parent 23810e5 commit 8ba57ce

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

doc/source/io.rst

+20-20
Original file line numberDiff line numberDiff line change
@@ -4542,24 +4542,6 @@ whether imported ``Categorical`` variables are ordered.
45424542
a ``Categorical`` with string categories for the values that are labeled and
45434543
numeric categories for values with no label.
45444544

4545-
.. _io.other:
4546-
4547-
Other file formats
4548-
------------------
4549-
4550-
pandas itself only supports IO with a limited set of file formats that map
4551-
cleanly to its tabular data model. For reading and writing other file formats
4552-
into and from pandas, we recommend these packages from the broader community.
4553-
4554-
netCDF
4555-
''''''
4556-
4557-
xray_ provides data structures inspired by the pandas DataFrame for working
4558-
with multi-dimensional datasets, with a focus on the netCDF file format and
4559-
easy conversion to and from pandas.
4560-
4561-
.. _xray: http://xray.readthedocs.org/
4562-
45634545
.. _io.sas:
45644546

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

4587-
Read a SAS XPORT file:
4569+
Read a SAS7BDAT file:
45884570

45894571
.. code-block:: python
45904572
4591-
df = pd.read_sas('sas_xport.xpt')
4573+
df = pd.read_sas('sas_data.sas7bdat')
45924574
45934575
Obtain an iterator and read an XPORT file 100,000 lines at a time:
45944576

@@ -4605,6 +4587,24 @@ web site.
46054587

46064588
No official documentation is available for the SAS7BDAT format.
46074589

4590+
.. _io.other:
4591+
4592+
Other file formats
4593+
------------------
4594+
4595+
pandas itself only supports IO with a limited set of file formats that map
4596+
cleanly to its tabular data model. For reading and writing other file formats
4597+
into and from pandas, we recommend these packages from the broader community.
4598+
4599+
netCDF
4600+
''''''
4601+
4602+
xray_ provides data structures inspired by the pandas DataFrame for working
4603+
with multi-dimensional datasets, with a focus on the netCDF file format and
4604+
easy conversion to and from pandas.
4605+
4606+
.. _xray: http://xray.readthedocs.org/
4607+
46084608
.. _io.perf:
46094609

46104610
Performance Considerations

0 commit comments

Comments
 (0)