Skip to content

Commit 660ec9c

Browse files
committed
DOC: minor edits in io.rst
1 parent bb68945 commit 660ec9c

File tree

7 files changed

+24
-17
lines changed

7 files changed

+24
-17
lines changed

doc/source/cookbook.rst

+6
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,18 @@ Splitting
127127
`Splitting a frame
128128
<http://stackoverflow.com/questions/13353233/best-way-to-split-a-dataframe-given-an-edge/15449992#15449992>`__
129129

130+
.. _cookbook.pivot:
131+
130132
Pivot
131133
~~~~~
134+
The :ref:`Pivot <reshaping.pivot>` docs.
132135

133136
`Partial sums and subtotals
134137
<http://stackoverflow.com/questions/15570099/pandas-pivot-tables-row-subtotals/15574875#15574875>`__
135138

139+
`Frequency table like plyr in R
140+
<http://stackoverflow.com/questions/15589354/frequency-tables-in-pandas-like-plyr-in-r>`__
141+
136142
Timeseries
137143
----------
138144

doc/source/groupby.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ We aim to make operations like this natural and easy to express using
5959
pandas. We'll address each area of GroupBy functionality then provide some
6060
non-trivial examples / use cases.
6161

62-
See some :ref:`cookbook examples <cookbook.grouping>` for some advanced strategies
62+
See the :ref:`cookbook<cookbook.grouping>` for some advanced strategies
6363

6464
.. _groupby.split:
6565

doc/source/indexing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ attention in this area. Expect more work to be invested higher-dimensional data
3232
structures (including Panel) in the future, especially in label-based advanced
3333
indexing.
3434

35-
See some :ref:`cookbook examples <cookbook.selection>` for some advanced strategies
35+
See the :ref:`cookbook<cookbook.selection>` for some advanced strategies
3636

3737
Choice
3838
------
@@ -920,7 +920,7 @@ described above and in prior sections. Later, when discussing :ref:`group by
920920
non-trivial applications to illustrate how it aids in structuring data for
921921
analysis.
922922

923-
See some :ref:`cookbook examples <cookbook.multi_index>` for some advanced strategies
923+
See the :ref:`cookbook<cookbook.multi_index>` for some advanced strategies
924924

925925
.. note::
926926

doc/source/io.rst

+10-11
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ CSV & Text files
3535
The two workhorse functions for reading text files (a.k.a. flat files) are
3636
:func:`~pandas.io.parsers.read_csv` and :func:`~pandas.io.parsers.read_table`.
3737
They both use the same parsing code to intelligently convert tabular
38-
data into a DataFrame object. They can take a number of arguments:
38+
data into a DataFrame object. See the :ref:`cookbook<cookbook.csv>`
39+
for some advanced strategies
3940

40-
See some :ref:`cookbook examples <cookbook.csv>` for some advanced strategies
41-
See some :ref:`cookbook examples <cookbook.csv>` for some advanced strategies
41+
They can take a number of arguments:
4242

4343
- ``filepath_or_buffer``: Either a string path to a file, or any object with a
4444
``read`` method (such as an open file or ``StringIO``).
@@ -917,9 +917,10 @@ Excel files
917917

918918
The ``ExcelFile`` class can read an Excel 2003 file using the ``xlrd`` Python
919919
module and use the same parsing code as the above to convert tabular data into
920-
a DataFrame. To use it, create the ``ExcelFile`` object:
920+
a DataFrame. See the :ref:`cookbook<cookbook.excel>` for some
921+
advanced strategies
921922

922-
See some :ref:`cookbook examples <cookbook.excel>` for some advanced strategies
923+
To use it, create the ``ExcelFile`` object:
923924

924925
.. code-block:: python
925926
@@ -985,9 +986,8 @@ HDF5 (PyTables)
985986

986987
``HDFStore`` is a dict-like object which reads and writes pandas using
987988
the high performance HDF5 format using the excellent `PyTables
988-
<http://www.pytables.org/>`__ library.
989-
990-
See some :ref:`cookbook examples <cookbook.hdf>` for some advanced strategies
989+
<http://www.pytables.org/>`__ library. See the :ref:`cookbook<cookbook.hdf>`
990+
for some advanced strategies
991991

992992
.. ipython:: python
993993
:suppress:
@@ -1696,9 +1696,8 @@ SQL Queries
16961696
The :mod:`pandas.io.sql` module provides a collection of query wrappers to both
16971697
facilitate data retrieval and to reduce dependency on DB-specific API. There
16981698
wrappers only support the Python database adapters which respect the `Python
1699-
DB-API <http://www.python.org/dev/peps/pep-0249/>`_.
1700-
1701-
See some :ref:`cookbook examples <cookbook.sql>` for some advanced strategies
1699+
DB-API <http://www.python.org/dev/peps/pep-0249/>`_. See some
1700+
:ref:`cookbook examples <cookbook.sql>` for some advanced strategies
17021701

17031702
Suppose you want to query some data with different types from a table such as:
17041703

doc/source/merging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ better) than other open source implementations (like ``base::merge.data.frame``
304304
in R). The reason for this is careful algorithmic design and internal layout of
305305
the data in DataFrame.
306306

307-
See some :ref:`cookbook examples <cookbook.merge>` for some advanced strategies
307+
See the :ref:`cookbook<cookbook.merge>` for some advanced strategies
308308

309309
pandas provides a single function, ``merge``, as the entry point for all
310310
standard database join operations between DataFrame objects:

doc/source/reshaping.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ Pivot tables and cross-tabulations
239239
.. _reshaping.pivot:
240240

241241
The function ``pandas.pivot_table`` can be used to create spreadsheet-style pivot
242-
tables. It takes a number of arguments
242+
tables. See the :ref:`cookbook<cookbook.pivot>` for some advanced strategies
243+
244+
It takes a number of arguments
243245

244246
- ``data``: A DataFrame object
245247
- ``values``: a column or a list of columns to aggregate

doc/source/visualization.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ We use the standard convention for referencing the matplotlib API:
3333
Basic plotting: ``plot``
3434
------------------------
3535

36-
See some :ref:`cookbook examples <cookbook.plotting>` for some advanced strategies
36+
See the :ref:`cookbook<cookbook.plotting>` for some advanced strategies
3737

3838
The ``plot`` method on Series and DataFrame is just a simple wrapper around
3939
``plt.plot``:

0 commit comments

Comments
 (0)