@@ -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
@@ -443,7 +443,7 @@ Enhancements
443
443
td * -1
444
444
td * Series([1,2,3,4])
445
445
446
- Absolute ``DateOffset`` objects can act equivalenty to ``timedeltas``
446
+ Absolute ``DateOffset`` objects can act equivalently to ``timedeltas``
447
447
448
448
.. ipython:: python
449
449
@@ -467,8 +467,8 @@ Enhancements
467
467
468
468
- ``plot(kind='kde')`` now accepts the optional parameters ``bw_method`` and
469
469
``ind``, passed to scipy.stats.gaussian_kde() (for scipy >= 0.11.0) to set
470
- the bandwidth, and to gkde.evaluate() to specify the indicies at which it
471
- is evaluated, respecttively . See scipy docs. (:issue:`4298`)
470
+ the bandwidth, and to gkde.evaluate() to specify the indices at which it
471
+ is evaluated, respectively . See scipy docs. (:issue:`4298`)
472
472
473
473
- DataFrame constructor now accepts a numpy masked record array (:issue:`3478`)
474
474
@@ -752,7 +752,7 @@ Experimental
752
752
df3 = pandas.concat([df2.min(), df2.mean(), df2.max()],
753
753
axis=1,keys=["Min Tem", "Mean Temp", "Max Temp"])
754
754
755
- The resulting dataframe is::
755
+ The resulting DataFrame is::
756
756
757
757
> df3
758
758
Min Tem Mean Temp Max Temp
@@ -842,7 +842,7 @@ to unify methods and behaviors. Series formerly subclassed directly from
842
842
843
843
- ``swapaxes`` on a ``Panel`` with the same axes specified now return a copy
844
844
- support attribute access for setting
845
- - filter supports same api as original ``DataFrame`` filter
845
+ - filter supports the same API as the original ``DataFrame`` filter
846
846
847
847
- Reindex called with no arguments will now return a copy of the input object
848
848
@@ -870,11 +870,11 @@ to unify methods and behaviors. Series formerly subclassed directly from
870
870
- enable setitem on ``SparseSeries`` for boolean/integer/slices
871
871
- ``SparsePanels`` implementation is unchanged (e.g. not using BlockManager, needs work)
872
872
873
- - added ``ftypes`` method to Series/DataFame , similar to ``dtypes``, but indicates
873
+ - added ``ftypes`` method to Series/DataFrame , similar to ``dtypes``, but indicates
874
874
if the underlying is sparse/dense (as well as the dtype)
875
- - All ``NDFrame`` objects now have a ``_prop_attributes``, which can be used to indcated various
876
- values to propogate to a new object from an existing (e.g. name in ``Series`` will follow
877
- more automatically now)
875
+ - All ``NDFrame`` objects now have a ``_prop_attributes``, which can be used to specify various
876
+ values to propagate to new objects from an existing one (e.g. `` name`` in ``Series`` will
877
+ follow more automatically now)
878
878
- Internal type checking is now done via a suite of generated classes, allowing ``isinstance(value, klass)``
879
879
without having to directly import the klass, courtesy of @jtratner
880
880
- Bug in Series update where the parent frame is not updating its cache based on
@@ -886,7 +886,7 @@ to unify methods and behaviors. Series formerly subclassed directly from
886
886
- Refactor ``rename`` methods to core/generic.py; fixes ``Series.rename`` for (:issue:`4605`), and adds ``rename``
887
887
with the same signature for ``Panel``
888
888
- Refactor ``clip`` methods to core/generic.py (:issue:`4798`)
889
- - Refactor of ``_get_numeric_data/_get_bool_data`` to core/generic.py, allowing Series/Panel functionaility
889
+ - Refactor of ``_get_numeric_data/_get_bool_data`` to core/generic.py, allowing Series/Panel functionality
890
890
- ``Series`` (for index) / ``Panel`` (for items) now allow attribute access to its elements (:issue:`1903`)
891
891
892
892
.. ipython:: python
0 commit comments