Skip to content

DOC: fix some doc build warnings #6989

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

Merged
merged 1 commit into from
Apr 28, 2014
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions doc/source/computation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ accept the following arguments:
instead of ``freq`` that referred to the legacy time rule constants
- ``how``: optionally specify method for down or re-sampling. Default is
is min for ``rolling_min``, max for ``rolling_max``, median for
``rolling_median``, and mean for all other rolling functions. See
:meth:`DataFrame.resample`'s how argument for more information.
``rolling_median``, and mean for all other rolling functions. See
:meth:`DataFrame.resample`'s how argument for more information.

These functions can be applied to ndarrays or Series objects:

Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. sphinxext.

extensions = ['sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.doctest',
'sphinx.ext.extlinks',
'sphinx.ext.todo',
Expand Down Expand Up @@ -63,7 +64,6 @@
autosummary_generate = False

if any([re.match("\s*api\s*",l) for l in lines]):
extensions.append('sphinx.ext.autosummary')
autosummary_generate = True

ds = []
Expand Down
4 changes: 2 additions & 2 deletions doc/source/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ API Changes
- ``False``: Do nothing (default).
- ``True``: Draw a table using the ``DataFrame`` or ``Series`` called ``plot`` method. Data will be transposed to meet matplotlib's default layout.
- ``DataFrame`` or ``Series``: Draw matplotlib.table using the passed data. The data will be drawn as displayed in print method (not transposed automatically).
Also, helper function ``pandas.tools.plotting.table`` is added to create a table from ``DataFrame`` and ``Series``, and add it to an ``matplotlib.Axes``.
Also, helper function ``pandas.tools.plotting.table`` is added to create a table from ``DataFrame`` and ``Series``, and add it to an ``matplotlib.Axes``.

- drop unused order argument from ``Series.sort``; args now in the same orders as ``Series.order``;
add ``na_position`` arg to conform to ``Series.order`` (:issue:`6847`)
Expand Down Expand Up @@ -429,7 +429,7 @@ Bug Fixes
- Bug in C parser with leading whitespace (:issue:`3374`)
- Bug in C parser with ``delim_whitespace=True`` and ``\r``-delimited lines
- Bug in ``Series.rank`` and ``DataFrame.rank`` that caused small floats (<1e-13) to all receive the same rank (:issue:`6886`)
- Bug in ``DataFrame.apply`` with functions that used *args or **kwargs and returned
- Bug in ``DataFrame.apply`` with functions that used \*args`` or \*\*kwargs and returned
an empty result (:issue:`6952`)
- Bug in sum/mean on 32-bit platforms on overflows (:issue:`6915`)

Expand Down
1 change: 1 addition & 0 deletions doc/source/v0.11.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Forcing Date coercion (and setting ``NaT`` when not datelike)

.. ipython:: python

from datetime import datetime
s = Series([datetime(2001,1,1,0,0), 'foo', 1.0, 1,
Timestamp('20010104'), '20010105'],dtype='O')
s.convert_objects(convert_dates='coerce')
Expand Down
1 change: 1 addition & 0 deletions doc/source/v0.12.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ Experimental Features
.. ipython:: python

from pandas.tseries.offsets import CustomBusinessDay
from datetime import datetime
# As an interesting example, let's look at Egypt where
# a Friday-Saturday weekend is observed.
weekmask_egypt = 'Sun Mon Tue Wed Thu'
Expand Down