Skip to content

Commit 8be501f

Browse files
committed
Merge pull request #3961 from cpcloud/github-issue-sphinxext
DOC/CLN: remove gh links and use the new issue format for whatsnew
2 parents 3406a54 + cbfc595 commit 8be501f

22 files changed

+3296
-4826
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ your contribution or address the issue you're having.
7171
7272
which fails on python 2.6, use `self.assertRaises(TheException,func,args)` instead.
7373
74-
- RELEASE.rst and doc/source/vx.y.z.txt contain an on-going changelog for each
75-
release as it is worked on. Add entries to these files as needed in
76-
a separate commit in your PR, documenting the fix, enhancement or (unavoidable)
77-
breaking change.
74+
- doc/source/release.rst and doc/source/vx.y.z.txt contain an on-going
75+
changelog for each release as it is worked on. Add entries to these files
76+
as needed in a separate commit in your PR, documenting the fix, enhancement
77+
or (unavoidable) breaking change.
7878
- For extra brownie points, use "git rebase -i" to squash and reorder
7979
commits in your PR so that the history makes the most sense. Use your own
8080
judgment to decide what history needs to be preserved.

RELEASE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Release Notes
2+
=============
3+
4+
The list of changes to pandas between each release can be found
5+
[here](http://pandas.pydata.org/pandas-docs/stable/release.html). For full
6+
details, see the commit logs at http://github.com/pydata/pandas.

RELEASE.rst

Lines changed: 0 additions & 4169 deletions
This file was deleted.

doc/source/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,6 @@
243243

244244
# extlinks alias
245245
extlinks = {'issue': ('https://github.com/pydata/pandas/issues/%s',
246-
'issue '),
247-
'pull request': ('https://github.com/pydata/pandas/pulls/%s',
248-
'pull request '),
249-
'wiki': ('https://github.com/pydata/pandas/pulls/%s',
246+
'GH'),
247+
'wiki': ('https://github.com/pydata/pandas/wiki/%s',
250248
'wiki ')}

doc/source/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ See the package overview for more detail about what's in the library.
105105

106106

107107
.. toctree::
108-
:hidden:
109108
:maxdepth: 3
110109

111110
whatsnew
@@ -132,4 +131,4 @@ See the package overview for more detail about what's in the library.
132131
related
133132
comparison_with_r
134133
api
135-
134+
release

doc/source/release.rst

Lines changed: 3012 additions & 0 deletions
Large diffs are not rendered by default.

doc/source/v0.10.0.txt

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Convenience methods ``ffill`` and ``bfill`` have been added:
159159
s
160160
s.apply(f)
161161

162-
- New API functions for working with pandas options (GH2097_):
162+
- New API functions for working with pandas options (:issue:`2097`):
163163

164164
- ``get_option`` / ``set_option`` - get/set the value of an option. Partial
165165
names are accepted. - ``reset_option`` - reset one or more options to
@@ -174,7 +174,7 @@ Convenience methods ``ffill`` and ``bfill`` have been added:
174174

175175
get_option("display.max_rows")
176176

177-
- to_string() methods now always return unicode strings (GH2224_).
177+
- to_string() methods now always return unicode strings (:issue:`2224`).
178178

179179
New features
180180
~~~~~~~~~~~~
@@ -297,22 +297,22 @@ Updated PyTables Support
297297

298298
- performance improvments on table writing
299299
- support for arbitrarily indexed dimensions
300-
- ``SparseSeries`` now has a ``density`` property (GH2384_)
300+
- ``SparseSeries`` now has a ``density`` property (:issue:`2384`)
301301
- enable ``Series.str.strip/lstrip/rstrip`` methods to take an input argument
302-
to strip arbitrary characters (GH2411_)
302+
to strip arbitrary characters (:issue:`2411`)
303303
- implement ``value_vars`` in ``melt`` to limit values to certain columns
304-
and add ``melt`` to pandas namespace (GH2412_)
304+
and add ``melt`` to pandas namespace (:issue:`2412`)
305305

306306
**Bug Fixes**
307307

308-
- added ``Term`` method of specifying where conditions (GH1996_).
308+
- added ``Term`` method of specifying where conditions (:issue:`1996`).
309309
- ``del store['df']`` now call ``store.remove('df')`` for store deletion
310310
- deleting of consecutive rows is much faster than before
311311
- ``min_itemsize`` parameter can be specified in table creation to force a
312312
minimum size for indexing columns (the previous implementation would set the
313313
column size based on the first append)
314314
- indexing support via ``create_table_index`` (requires PyTables >= 2.3)
315-
(GH698_).
315+
(:issue:`698`).
316316
- appending on a store would fail if the table was not first created via ``put``
317317
- fixed issue with missing attributes after loading a pickled dataframe (GH2431)
318318
- minor change to select and remove: require a table ONLY if where is also
@@ -350,16 +350,7 @@ Adding experimental support for Panel4D and factory functions to create n-dimens
350350

351351

352352

353-
See the `full release notes
354-
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
353+
See the :ref:`full release notes
354+
<release>` or issue tracker
355355
on GitHub for a complete list.
356356

357-
.. _GH698: https://github.com/pydata/pandas/issues/698
358-
.. _GH1996: https://github.com/pydata/pandas/issues/1996
359-
.. _GH2316: https://github.com/pydata/pandas/issues/2316
360-
.. _GH2097: https://github.com/pydata/pandas/issues/2097
361-
.. _GH2224: https://github.com/pydata/pandas/issues/2224
362-
.. _GH2431: https://github.com/pydata/pandas/issues/2431
363-
.. _GH2412: https://github.com/pydata/pandas/issues/2412
364-
.. _GH2411: https://github.com/pydata/pandas/issues/2411
365-
.. _GH2384: https://github.com/pydata/pandas/issues/2384

doc/source/v0.10.1.txt

Lines changed: 28 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ API changes
1515

1616
- Functions taking an ``inplace`` option return the calling object as before. A
1717
deprecation message has been added
18-
- Groupby aggregations Max/Min no longer exclude non-numeric data (GH2700_)
18+
- Groupby aggregations Max/Min no longer exclude non-numeric data (:issue:`2700`)
1919
- Resampling an empty DataFrame now returns an empty DataFrame instead of
20-
raising an exception (GH2640_)
20+
raising an exception (:issue:`2640`)
2121
- The file reader will now raise an exception when NA values are found in an
2222
explicitly specified integer column instead of converting the column to float
23-
(GH2631_)
23+
(:issue:`2631`)
2424
- DatetimeIndex.unique now returns a DatetimeIndex with the same name and
25-
- timezone instead of an array (GH2563_)
25+
- timezone instead of an array (:issue:`2563`)
2626

2727
New features
2828
~~~~~~~~~~~~
@@ -164,76 +164,49 @@ combined result, by using ``where`` on a selector table.
164164
- ``Select`` now supports passing ``start`` and ``stop`` to provide selection
165165
space limiting in selection.
166166

167-
- Greatly improved ISO8601 (e.g., yyyy-mm-dd) date parsing for file parsers (GH2698_)
167+
- Greatly improved ISO8601 (e.g., yyyy-mm-dd) date parsing for file parsers (:issue:`2698`)
168168
- Allow ``DataFrame.merge`` to handle combinatorial sizes too large for 64-bit
169-
integer (GH2690_)
170-
- Series now has unary negation (-series) and inversion (~series) operators (GH2686_)
171-
- DataFrame.plot now includes a ``logx`` parameter to change the x-axis to log scale (GH2327_)
172-
- Series arithmetic operators can now handle constant and ndarray input (GH2574_)
173-
- ExcelFile now takes a ``kind`` argument to specify the file type (GH2613_)
174-
- A faster implementation for Series.str methods (GH2602_)
169+
integer (:issue:`2690`)
170+
- Series now has unary negation (-series) and inversion (~series) operators (:issue:`2686`)
171+
- DataFrame.plot now includes a ``logx`` parameter to change the x-axis to log scale (:issue:`2327`)
172+
- Series arithmetic operators can now handle constant and ndarray input (:issue:`2574`)
173+
- ExcelFile now takes a ``kind`` argument to specify the file type (:issue:`2613`)
174+
- A faster implementation for Series.str methods (:issue:`2602`)
175175

176176
**Bug Fixes**
177177

178178
- ``HDFStore`` tables can now store ``float32`` types correctly (cannot be
179179
mixed with ``float64`` however)
180-
- Fixed Google Analytics prefix when specifying request segment (GH2713_).
180+
- Fixed Google Analytics prefix when specifying request segment (:issue:`2713`).
181181
- Function to reset Google Analytics token store so users can recover from
182-
improperly setup client secrets (GH2687_).
183-
- Fixed groupby bug resulting in segfault when passing in MultiIndex (GH2706_)
182+
improperly setup client secrets (:issue:`2687`).
183+
- Fixed groupby bug resulting in segfault when passing in MultiIndex (:issue:`2706`)
184184
- Fixed bug where passing a Series with datetime64 values into `to_datetime`
185-
results in bogus output values (GH2699_)
185+
results in bogus output values (:issue:`2699`)
186186
- Fixed bug in ``pattern in HDFStore`` expressions when pattern is not a valid
187-
regex (GH2694_)
188-
- Fixed performance issues while aggregating boolean data (GH2692_)
187+
regex (:issue:`2694`)
188+
- Fixed performance issues while aggregating boolean data (:issue:`2692`)
189189
- When given a boolean mask key and a Series of new values, Series __setitem__
190-
will now align the incoming values with the original Series (GH2686_)
190+
will now align the incoming values with the original Series (:issue:`2686`)
191191
- Fixed MemoryError caused by performing counting sort on sorting MultiIndex
192-
levels with a very large number of combinatorial values (GH2684_)
192+
levels with a very large number of combinatorial values (:issue:`2684`)
193193
- Fixed bug that causes plotting to fail when the index is a DatetimeIndex with
194-
a fixed-offset timezone (GH2683_)
194+
a fixed-offset timezone (:issue:`2683`)
195195
- Corrected businessday subtraction logic when the offset is more than 5 bdays
196-
and the starting date is on a weekend (GH2680_)
196+
and the starting date is on a weekend (:issue:`2680`)
197197
- Fixed C file parser behavior when the file has more columns than data
198-
(GH2668_)
198+
(:issue:`2668`)
199199
- Fixed file reader bug that misaligned columns with data in the presence of an
200200
implicit column and a specified `usecols` value
201201
- DataFrames with numerical or datetime indices are now sorted prior to
202-
plotting (GH2609_)
202+
plotting (:issue:`2609`)
203203
- Fixed DataFrame.from_records error when passed columns, index, but empty
204-
records (GH2633_)
205-
- Several bug fixed for Series operations when dtype is datetime64 (GH2689_,
206-
GH2629_, GH2626_)
204+
records (:issue:`2633`)
205+
- Several bug fixed for Series operations when dtype is datetime64 (:issue:`2689`,
206+
:issue:`2629`, :issue:`2626`)
207207

208208

209-
See the `full release notes
210-
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
209+
See the :ref:`full release notes
210+
<release>` or issue tracker
211211
on GitHub for a complete list.
212212

213-
.. _GH2706: https://github.com/pydata/pandas/issues/2706
214-
.. _GH2700: https://github.com/pydata/pandas/issues/2700
215-
.. _GH2699: https://github.com/pydata/pandas/issues/2699
216-
.. _GH2698: https://github.com/pydata/pandas/issues/2698
217-
.. _GH2694: https://github.com/pydata/pandas/issues/2694
218-
.. _GH2692: https://github.com/pydata/pandas/issues/2692
219-
.. _GH2690: https://github.com/pydata/pandas/issues/2690
220-
.. _GH2713: https://github.com/pydata/pandas/issues/2713
221-
.. _GH2689: https://github.com/pydata/pandas/issues/2689
222-
.. _GH2686: https://github.com/pydata/pandas/issues/2686
223-
.. _GH2684: https://github.com/pydata/pandas/issues/2684
224-
.. _GH2683: https://github.com/pydata/pandas/issues/2683
225-
.. _GH2680: https://github.com/pydata/pandas/issues/2680
226-
.. _GH2668: https://github.com/pydata/pandas/issues/2668
227-
.. _GH2640: https://github.com/pydata/pandas/issues/2640
228-
.. _GH2609: https://github.com/pydata/pandas/issues/2609
229-
.. _GH2327: https://github.com/pydata/pandas/issues/2327
230-
.. _GH2574: https://github.com/pydata/pandas/issues/2574
231-
.. _GH2609: https://github.com/pydata/pandas/issues/2609
232-
.. _GH2631: https://github.com/pydata/pandas/issues/2631
233-
.. _GH2633: https://github.com/pydata/pandas/issues/2633
234-
.. _GH2629: https://github.com/pydata/pandas/issues/2629
235-
.. _GH2626: https://github.com/pydata/pandas/issues/2626
236-
.. _GH2613: https://github.com/pydata/pandas/issues/2613
237-
.. _GH2602: https://github.com/pydata/pandas/issues/2602
238-
.. _GH2687: https://github.com/pydata/pandas/issues/2687
239-
.. _GH2563: https://github.com/pydata/pandas/issues/2563

doc/source/v0.11.0.txt

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Dtype Gotchas
129129

130130
Starting in 0.11.0, construction of DataFrame/Series will use default dtypes of ``int64`` and ``float64``,
131131
*regardless of platform*. This is not an apparent change from earlier versions of pandas. If you specify
132-
dtypes, they *WILL* be respected, however (GH2837_)
132+
dtypes, they *WILL* be respected, however (:issue:`2837`)
133133

134134
The following will all result in ``int64`` dtypes
135135

@@ -176,7 +176,7 @@ Datetimes Conversion
176176
Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan value,
177177
in addition to the traditional ``NaT``, or not-a-time. This allows convenient nan setting in a generic way.
178178
Furthermore ``datetime64[ns]`` columns are created by default, when passed datetimelike objects (*this change was introduced in 0.10.1*)
179-
(GH2809_, GH2810_)
179+
(:issue:`2809`, :issue:`2810`)
180180

181181
.. ipython:: python
182182

@@ -210,7 +210,7 @@ API changes
210210
~~~~~~~~~~~
211211

212212
- Added to_series() method to indicies, to facilitate the creation of indexers
213-
(GH3275_)
213+
(:issue:`3275`)
214214

215215
- ``HDFStore``
216216

@@ -221,7 +221,7 @@ API changes
221221
Enhancements
222222
~~~~~~~~~~~~
223223

224-
- Improved performance of df.to_csv() by up to 10x in some cases. (GH3059_)
224+
- Improved performance of df.to_csv() by up to 10x in some cases. (:issue:`3059`)
225225

226226
- Numexpr is now a :ref:`Recommended Dependencies <install.recommended_dependencies>`, to accelerate certain
227227
types of numerical and boolean operations
@@ -248,11 +248,11 @@ Enhancements
248248
- provide dotted attribute access to ``get`` from stores, e.g. ``store.df == store['df']``
249249

250250
- new keywords ``iterator=boolean``, and ``chunksize=number_in_a_chunk`` are
251-
provided to support iteration on ``select`` and ``select_as_multiple`` (GH3076_)
251+
provided to support iteration on ``select`` and ``select_as_multiple`` (:issue:`3076`)
252252

253-
- You can now select timestamps from an *unordered* timeseries similarly to an *ordered* timeseries (GH2437_)
253+
- You can now select timestamps from an *unordered* timeseries similarly to an *ordered* timeseries (:issue:`2437`)
254254

255-
- You can now select with a string from a DataFrame with a datelike index, in a similar way to a Series (GH3070_)
255+
- You can now select with a string from a DataFrame with a datelike index, in a similar way to a Series (:issue:`3070`)
256256

257257
.. ipython:: python
258258

@@ -291,59 +291,36 @@ Enhancements
291291
``above_below``. This allows the user to specify if they would like to
292292
only return forward looking data for options near the current stock
293293
price. This just obtains the data from Options.get_near_stock_price
294-
instead of Options.get_xxx_data() (GH2758_).
294+
instead of Options.get_xxx_data() (:issue:`2758`).
295295

296296
- Cursor coordinate information is now displayed in time-series plots.
297297

298298
- added option `display.max_seq_items` to control the number of
299-
elements printed per sequence pprinting it. (GH2979_)
299+
elements printed per sequence pprinting it. (:issue:`2979`)
300300

301301
- added option `display.chop_threshold` to control display of small numerical
302-
values. (GH2739_)
302+
values. (:issue:`2739`)
303303

304304
- added option `display.max_info_rows` to prevent verbose_info from being
305-
calculated for frames above 1M rows (configurable). (GH2807_, GH2918_)
305+
calculated for frames above 1M rows (configurable). (:issue:`2807`, :issue:`2918`)
306306

307307
- value_counts() now accepts a "normalize" argument, for normalized
308-
histograms. (GH2710_).
308+
histograms. (:issue:`2710`).
309309

310310
- DataFrame.from_records now accepts not only dicts but any instance of
311311
the collections.Mapping ABC.
312312

313313
- added option `display.mpl_style` providing a sleeker visual style
314-
for plots. Based on https://gist.github.com/huyng/816622 (GH3075_).
314+
for plots. Based on https://gist.github.com/huyng/816622 (:issue:`3075`).
315315

316316
- Treat boolean values as integers (values 1 and 0) for numeric
317-
operations. (GH2641_)
317+
operations. (:issue:`2641`)
318318

319319
- to_html() now accepts an optional "escape" argument to control reserved
320320
HTML character escaping (enabled by default) and escapes ``&``, in addition
321-
to ``<`` and ``>``. (GH2919_)
321+
to ``<`` and ``>``. (:issue:`2919`)
322322

323-
See the `full release notes
324-
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
323+
See the :ref:`full release notes
324+
<release>` or issue tracker
325325
on GitHub for a complete list.
326326

327-
.. _GH2437: https://github.com/pydata/pandas/issues/2437
328-
.. _GH2809: https://github.com/pydata/pandas/issues/2809
329-
.. _GH2810: https://github.com/pydata/pandas/issues/2810
330-
.. _GH2837: https://github.com/pydata/pandas/issues/2837
331-
.. _GH2898: https://github.com/pydata/pandas/issues/2898
332-
.. _GH3035: https://github.com/pydata/pandas/issues/3035
333-
.. _GH2978: https://github.com/pydata/pandas/issues/2978
334-
.. _GH2877: https://github.com/pydata/pandas/issues/2877
335-
.. _GH2739: https://github.com/pydata/pandas/issues/2739
336-
.. _GH2710: https://github.com/pydata/pandas/issues/2710
337-
.. _GH2806: https://github.com/pydata/pandas/issues/2806
338-
.. _GH2807: https://github.com/pydata/pandas/issues/2807
339-
.. _GH2918: https://github.com/pydata/pandas/issues/2918
340-
.. _GH2758: https://github.com/pydata/pandas/issues/2758
341-
.. _GH3275: https://github.com/pydata/pandas/issues/3275
342-
.. _GH2979: https://github.com/pydata/pandas/issues/2979
343-
.. _GH3011: https://github.com/pydata/pandas/issues/3011
344-
.. _GH3076: https://github.com/pydata/pandas/issues/3076
345-
.. _GH3059: https://github.com/pydata/pandas/issues/3059
346-
.. _GH3070: https://github.com/pydata/pandas/issues/3070
347-
.. _GH3075: https://github.com/pydata/pandas/issues/3075
348-
.. _GH2641: https://github.com/pydata/pandas/issues/2641
349-
.. _GH2919: https://github.com/pydata/pandas/issues/2919

0 commit comments

Comments
 (0)