@@ -49,10 +49,10 @@ API changes
49
49
index = index.set_levels([[1, 2, 3, 4], [1, 2, 4, 4]])
50
50
51
51
# similarly, for names, you can rename the object
52
- # but setting names is not deprecated.
52
+ # but setting names is not deprecated
53
53
index = index.set_names(["bob", "cranberry"])
54
54
55
- # and all methods take an inplace kwarg - but returns None
55
+ # and all methods take an inplace kwarg - but return None
56
56
index.set_names(["bob", "cranberry"], inplace=True)
57
57
58
58
- **All** division with ``NDFrame`` - likes is now truedivision, regardless
@@ -80,7 +80,7 @@ API changes
80
80
- ``__nonzero__`` for all NDFrame objects, will now raise a ``ValueError``, this reverts back to (:issue:`1073`, :issue:`4633`)
81
81
behavior. See :ref:`gotchas<gotchas.truth>` for a more detailed discussion.
82
82
83
- This prevents doing boolean comparision on *entire* pandas objects, which is inherently ambiguous. These all will raise a ``ValueError``.
83
+ This prevents doing boolean comparison on *entire* pandas objects, which is inherently ambiguous. These all will raise a ``ValueError``.
84
84
85
85
.. code-block:: python
86
86
@@ -106,7 +106,7 @@ API changes
106
106
statistical mode(s) by axis/Series. (:issue:`5367`)
107
107
108
108
- Chained assignment will now by default warn if the user is assigning to a copy. This can be changed
109
- with he option ``mode.chained_assignment``, allowed options are ``raise/warn/None``. See :ref:`the docs<indexing.view_versus_copy>`.
109
+ with the option ``mode.chained_assignment``, allowed options are ``raise/warn/None``. See :ref:`the docs<indexing.view_versus_copy>`.
110
110
111
111
.. ipython:: python
112
112
@@ -158,7 +158,7 @@ Deprecated in 0.13.0
158
158
of ``match`` will change to become analogous to ``contains``, which returns
159
159
a boolean indexer. (Their
160
160
distinction is strictness: ``match`` relies on ``re.match`` while
161
- ``contains`` relies on ``re.serach ``.) In this release, the deprecated
161
+ ``contains`` relies on ``re.search ``.) In this release, the deprecated
162
162
behavior is the default, but the new behavior is available through the
163
163
keyword argument ``as_indexer=True``.
164
164
@@ -310,8 +310,8 @@ HDFStore API Changes
310
310
os.remove(path)
311
311
312
312
- the ``format`` keyword now replaces the ``table`` keyword; allowed values are ``fixed(f)`` or ``table(t)``
313
- the same defaults as prior < 0.13.0 remain, e.g. ``put`` implies ``fixed`` format
314
- and ``append`` imples ``table`` format. This default format can be set as an option by setting ``io.hdf.default_format``.
313
+ the same defaults as prior < 0.13.0 remain, e.g. ``put`` implies ``fixed`` format and ``append`` implies
314
+ ``table`` format. This default format can be set as an option by setting ``io.hdf.default_format``.
315
315
316
316
.. ipython:: python
317
317
@@ -445,7 +445,7 @@ Enhancements
445
445
td * -1
446
446
td * Series([1,2,3,4])
447
447
448
- Absolute ``DateOffset`` objects can act equivalenty to ``timedeltas``
448
+ Absolute ``DateOffset`` objects can act equivalently to ``timedeltas``
449
449
450
450
.. ipython:: python
451
451
@@ -469,8 +469,8 @@ Enhancements
469
469
470
470
- ``plot(kind='kde')`` now accepts the optional parameters ``bw_method`` and
471
471
``ind``, passed to scipy.stats.gaussian_kde() (for scipy >= 0.11.0) to set
472
- the bandwidth, and to gkde.evaluate() to specify the indicies at which it
473
- is evaluated, respecttively . See scipy docs. (:issue:`4298`)
472
+ the bandwidth, and to gkde.evaluate() to specify the indices at which it
473
+ is evaluated, respectively . See scipy docs. (:issue:`4298`)
474
474
475
475
- DataFrame constructor now accepts a numpy masked record array (:issue:`3478`)
476
476
@@ -754,7 +754,7 @@ Experimental
754
754
df3 = pandas.concat([df2.min(), df2.mean(), df2.max()],
755
755
axis=1,keys=["Min Tem", "Mean Temp", "Max Temp"])
756
756
757
- The resulting dataframe is::
757
+ The resulting DataFrame is::
758
758
759
759
> df3
760
760
Min Tem Mean Temp Max Temp
@@ -844,7 +844,7 @@ to unify methods and behaviors. Series formerly subclassed directly from
844
844
845
845
- ``swapaxes`` on a ``Panel`` with the same axes specified now return a copy
846
846
- support attribute access for setting
847
- - filter supports same api as original ``DataFrame`` filter
847
+ - filter supports the same API as the original ``DataFrame`` filter
848
848
849
849
- Reindex called with no arguments will now return a copy of the input object
850
850
@@ -872,11 +872,11 @@ to unify methods and behaviors. Series formerly subclassed directly from
872
872
- enable setitem on ``SparseSeries`` for boolean/integer/slices
873
873
- ``SparsePanels`` implementation is unchanged (e.g. not using BlockManager, needs work)
874
874
875
- - added ``ftypes`` method to Series/DataFame , similar to ``dtypes``, but indicates
875
+ - added ``ftypes`` method to Series/DataFrame , similar to ``dtypes``, but indicates
876
876
if the underlying is sparse/dense (as well as the dtype)
877
- - All ``NDFrame`` objects now have a ``_prop_attributes``, which can be used to indcated various
878
- values to propogate to a new object from an existing (e.g. name in ``Series`` will follow
879
- more automatically now)
877
+ - All ``NDFrame`` objects can now use ``__finalize__()`` to specify various
878
+ values to propagate to new objects from an existing one (e.g. `` name`` in ``Series`` will
879
+ follow more automatically now)
880
880
- Internal type checking is now done via a suite of generated classes, allowing ``isinstance(value, klass)``
881
881
without having to directly import the klass, courtesy of @jtratner
882
882
- Bug in Series update where the parent frame is not updating its cache based on
@@ -888,7 +888,7 @@ to unify methods and behaviors. Series formerly subclassed directly from
888
888
- Refactor ``rename`` methods to core/generic.py; fixes ``Series.rename`` for (:issue:`4605`), and adds ``rename``
889
889
with the same signature for ``Panel``
890
890
- Refactor ``clip`` methods to core/generic.py (:issue:`4798`)
891
- - Refactor of ``_get_numeric_data/_get_bool_data`` to core/generic.py, allowing Series/Panel functionaility
891
+ - Refactor of ``_get_numeric_data/_get_bool_data`` to core/generic.py, allowing Series/Panel functionality
892
892
- ``Series`` (for index) / ``Panel`` (for items) now allow attribute access to its elements (:issue:`1903`)
893
893
894
894
.. ipython:: python
0 commit comments