Skip to content

Commit 1736b7c

Browse files
committed
DOC: v0.13.0.txt cleanup
1 parent 95ff747 commit 1736b7c

File tree

4 files changed

+22
-41
lines changed

4 files changed

+22
-41
lines changed

doc/source/gotchas.rst

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ or, you might want to compare if the pandas object is ``None``
5050
print("I was not None")
5151
>>> I was not None
5252
53+
54+
or return if ``any`` value is ``True``.
55+
5356
.. code-block:: python
5457
5558
>>> if pd.Series([False, True, False]).any():

doc/source/io.rst

+2
Original file line numberDiff line numberDiff line change
@@ -2027,6 +2027,8 @@ space. These are in terms of the total number of rows in a table.
20272027
Term('minor_axis', '=', ['A','B']) ],
20282028
start=0, stop=10)
20292029
2030+
.. _io.hdf5-timedelta:
2031+
20302032
**Using timedelta64[ns]**
20312033
20322034
.. versionadded:: 0.13

doc/source/release.rst

+3
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
294294
Experimental Features
295295
~~~~~~~~~~~~~~~~~~~~~
296296

297+
.. _release:bug_fixes-0.13.0:
298+
297299
Bug Fixes
298300
~~~~~~~~~
299301

@@ -408,6 +410,7 @@ Bug Fixes
408410
(:issue:`3963`, :issue:`4785`).
409411
- Fixed an issue related to ticklocs/ticklabels with log scale bar plots
410412
across different versions of matplotlib (:issue:`4789`)
413+
- Suppressed DeprecationWarning associated with internal calls issued by repr() (:issue:`4391`)
411414

412415
pandas 0.12.0
413416
-------------

doc/source/v0.13.0.txt

+14-41
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ API changes
8080
See :ref:`here<io.hdf5-selecting_coordinates>` for an example.
8181
- allow a passed locations array or mask as a ``where`` condition (:issue:`4467`).
8282
See :ref:`here<io.hdf5-where_mask>` for an example.
83-
- support ``timedelta64[ns]`` as a serialization type (:issue:`3577`)
83+
- support ``timedelta64[ns]`` as a serialization type (:issue:`3577`). See :ref:`here<io.hdf5-timedelta>` for an example.
84+
8485
- the ``format`` keyword now replaces the ``table`` keyword; allowed values are ``fixed(f)`` or ``table(t)``
8586
the same defaults as prior < 0.13.0 remain, e.g. ``put`` implies 'fixed` or 'f' (Fixed) format
8687
and ``append`` imples 'table' or 't' (Table) format
@@ -109,7 +110,7 @@ API changes
109110
- Changes to how ``Index`` and ``MultiIndex`` handle metadata (``levels``,
110111
``labels``, and ``names``) (:issue:`4039`):
111112

112-
..code-block ::
113+
.. code-block:: python
113114

114115
# previously, you would have set levels or labels directly
115116
index.levels = [[1, 2, 3, 4], [1, 2, 4, 4]]
@@ -126,11 +127,11 @@ API changes
126127

127128
- Infer and downcast dtype if ``downcast='infer'`` is passed to ``fillna/ffill/bfill`` (:issue:`4604`)
128129
- ``__nonzero__`` for all NDFrame objects, will now raise a ``ValueError``, this reverts back to (:issue:`1073`, :issue:`4633`)
129-
behavior.
130+
behavior. See :ref:`gotchas<gotchas.truth>` for a more detailed discussion.
130131

131132
This prevent behaviors like (which will now all raise ``ValueError``)
132133

133-
..code-block ::
134+
.. code-block:: python
134135

135136
if df:
136137
....
@@ -141,8 +142,8 @@ API changes
141142
Indexing API Changes
142143
~~~~~~~~~~~~~~~~~~~~
143144

144-
Prior to 0.13, it was impossible to use an indexer (``.loc/.iloc/.ix``) to set a value that
145-
was not contained in the index of a particular axis. (:issue:`2578`). See more at :ref:`here<indexing.basics.partial_setting>`
145+
Prior to 0.13, it was impossible to use a label indexer (``.loc/.ix``) to set a value that
146+
was not contained in the index of a particular axis. (:issue:`2578`). See more :ref:`here<indexing.basics.partial_setting>`
146147

147148
In the ``Series`` case this is effectively an appending operation
148149

@@ -208,14 +209,14 @@ Enhancements
208209
get_dummies([1, 2, np.nan], dummy_na=True)
209210

210211

211-
- ``timedelta64[ns]`` operations
212+
- ``timedelta64[ns]`` operations. See :ref:`here<timeseries.timedeltas_convert>` for the docs.
212213

213-
- Using the new top-level ``to_timedelta``, you can convert a scalar or array from the standard
214-
timedelta format (produced by ``to_csv``) into a timedelta type (``np.timedelta64`` in ``nanoseconds``).
214+
.. warning::
215215

216-
.. warning::
216+
Most of these operations require ``numpy >= 1.7``
217217

218-
This requires ``numpy >= 1.7``
218+
- Using the new top-level ``to_timedelta``, you can convert a scalar or array from the standard
219+
timedelta format (produced by ``to_csv``) into a timedelta type (``np.timedelta64`` in ``nanoseconds``).
219220

220221
.. ipython:: python
221222

@@ -389,36 +390,8 @@ and behaviors. Series formerly subclassed directly from ``ndarray``. (:issue:`40
389390
Bug Fixes
390391
~~~~~~~~~
391392

392-
- ``HDFStore`` raising an invalid ``TypeError`` rather than ``ValueError`` when appending
393-
with a different block ordering (:issue:`4096`)
394-
395-
- The ``by`` argument now works correctly with the ``layout`` argument
396-
(:issue:`4102`, :issue:`4014`) in ``*.hist`` plotting methods
397-
398-
- Fixed bug in ``PeriodIndex.map`` where using ``str`` would return the str
399-
representation of the index (:issue:`4136`)
400-
401-
- Fixed (:issue:`3334`) in pivot_table. Margins did not compute if values is the index.
402-
403-
- Fixed test failure ``test_time_series_plot_color_with_empty_kwargs`` when
404-
using custom matplotlib default colors (:issue:`4345`)
405-
406-
- Fix running of stata IO tests. Now uses temporary files to write
407-
(:issue:`4353`)
408-
409-
- Fixed an issue where ``DataFrame.sum`` was slower than ``DataFrame.mean``
410-
for integer valued frames (:issue:`4365`)
411-
412-
- ``read_html`` tests now work with Python 2.6 (:issue:`4351`)
413-
414-
- Fixed bug where ``network`` testing was throwing ``NameError`` because a
415-
local variable was undefined (:issue:`4381`)
416-
417-
- Suppressed DeprecationWarning associated with internal calls issued by repr() (:issue:`4391`)
418-
419-
- Fixed bug where thousands operator was not handled correctly for floating point numbers
420-
in csv_import (:issue:`4322`)
393+
See :ref:`V0.13.0 Bug Fixes<release:bug_fixes-0.13.0>` for an extensive list of bugs that have been fixed in 0.13.0.
421394

422395
See the :ref:`full release notes
423396
<release>` or issue tracker
424-
on GitHub for a complete list.
397+
on GitHub for a complete list of all API changes, Enhancements and Bug Fixes.

0 commit comments

Comments
 (0)