Skip to content

Commit a374e91

Browse files
DOC: fix sphinx warnings/errors
1 parent eb54130 commit a374e91

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

doc/source/computation.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -428,15 +428,13 @@ Using a non-regular, but still monotonic index, rolling with an integer window d
428428

429429
.. ipython:: python
430430
431-
432-
dft = DataFrame({'B': [0, 1, 2, np.nan, 4]},
433-
index = pd.Index([pd.Timestamp('20130101 09:00:00'),
434-
pd.Timestamp('20130101 09:00:02'),
435-
pd.Timestamp('20130101 09:00:03'),
436-
pd.Timestamp('20130101 09:00:05'),
437-
pd.Timestamp('20130101 09:00:06')],
438-
name='foo'))
439-
431+
dft = pd.DataFrame({'B': [0, 1, 2, np.nan, 4]},
432+
index = pd.Index([pd.Timestamp('20130101 09:00:00'),
433+
pd.Timestamp('20130101 09:00:02'),
434+
pd.Timestamp('20130101 09:00:03'),
435+
pd.Timestamp('20130101 09:00:05'),
436+
pd.Timestamp('20130101 09:00:06')],
437+
name='foo'))
440438
dft
441439
dft.rolling(2).sum()
442440

doc/source/ecosystem.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Statistics and Machine Learning
2525
-------------------------------
2626

2727
`Statsmodels <http://www.statsmodels.org/>`__
28-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2929

3030
Statsmodels is the prominent python "statistics and econometrics library" and it has
3131
a long-standing special relationship with pandas. Statsmodels provides powerful statistics,
@@ -78,7 +78,7 @@ more advanced types of plots then those offered by pandas.
7878

7979
The `Vincent <https://github.com/wrobstory/vincent>`__ project leverages `Vega <https://github.com/trifacta/vega>`__
8080
(that in turn, leverages `d3 <http://d3js.org/>`__) to create
81-
plots. Although functional, as of Summer 2016 the Vincent project has not been updated
81+
plots. Although functional, as of Summer 2016 the Vincent project has not been updated
8282
in over two years and is `unlikely to receive further updates <https://github.com/wrobstory/vincent#2015-08-12-update>`__.
8383

8484
`IPython Vega <https://github.com/vega/ipyvega>`__
@@ -130,7 +130,7 @@ qgrid is "an interactive grid for sorting and filtering
130130
DataFrames in IPython Notebook" built with SlickGrid.
131131

132132
`Spyder <https://github.com/spyder-ide/spyder/>`__
133-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134134

135135
Spyder is a cross-platform Qt-based open-source Python IDE with
136136
editing, testing, debugging, and introspection features.

doc/source/whatsnew/v0.17.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ Deprecations
965965
- ``TimeSeries`` deprecated in favor of ``Series`` (note that this has been an alias since 0.13.0), (:issue:`10890`)
966966
- ``SparsePanel`` deprecated and will be removed in a future version (:issue:`11157`).
967967
- ``Series.is_time_series`` deprecated in favor of ``Series.index.is_all_dates`` (:issue:`11135`)
968-
- Legacy offsets (like ``'A@JAN'``) listed in :ref:`here <timeseries.legacyaliases>` are deprecated (note that this has been alias since 0.8.0), (:issue:`10878`)
968+
- Legacy offsets (like ``'A@JAN'``) are deprecated (note that this has been alias since 0.8.0) (:issue:`10878`)
969969
- ``WidePanel`` deprecated in favor of ``Panel``, ``LongPanel`` in favor of ``DataFrame`` (note these have been aliases since < 0.11.0), (:issue:`10892`)
970970
- ``DataFrame.convert_objects`` has been deprecated in favor of type-specific functions ``pd.to_datetime``, ``pd.to_timestamp`` and ``pd.to_numeric`` (new in 0.17.0) (:issue:`11133`).
971971

doc/source/whatsnew/v0.8.0.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Other new features
134134
- Move to klib-based hash tables for indexing; better performance and less
135135
memory usage than Python's dict
136136
- Add first, last, min, max, and prod optimized GroupBy functions
137-
- New :ref:`ordered_merge <merging.ordered_merge>` function
137+
- New :ref:`ordered_merge <merging.merge_ordered>` function
138138
- Add flexible :ref:`comparison <basics.binop>` instance methods eq, ne, lt,
139139
gt, etc. to DataFrame, Series
140140
- Improve :ref:`scatter_matrix <visualization.scatter_matrix>` plotting
@@ -271,4 +271,3 @@ unique. In many cases it will no longer fail (some method like ``append`` still
271271
check for uniqueness unless disabled). However, all is not lost: you can
272272
inspect ``index.is_unique`` and raise an exception explicitly if it is
273273
``False`` or go to a different code branch.
274-

0 commit comments

Comments
 (0)