You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/release.rst
+6
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,12 @@ Highlights include:
60
60
- Backwards incompatible change to ``Timedelta`` to conform the ``.seconds`` attribute with ``datetime.timedelta``, see :ref:`here <whatsnew_0160.api_breaking.timedelta>`
61
61
- Changes to the ``.loc`` slicing API to conform with the behavior of ``.ix`` see :ref:`here <whatsnew_0160.api_breaking.indexing>`
62
62
- Changes to the default for ordering in the ``Categorical`` constructor, see :ref:`here <whatsnew_0160.api_breaking.categorical>`
63
+
- The ``pandas.tools.rplot``, ``pandas.sandbox.qtpandas`` and ``pandas.rpy``
64
+
modules are deprecated. We refer users to external packages like
`pandas-qt <https://github.com/datalyze-solutions/pandas-qt>`_ and
22
+
`rpy2 <http://rpy.sourceforge.net/>`_ for similar or equivalent
23
+
functionality, see :ref:`here <whatsnew_0160.deprecations>`
18
24
19
25
Check the :ref:`API Changes <whatsnew_0160.api>` and :ref:`deprecations <whatsnew_0160.deprecations>` before updating.
20
26
@@ -129,37 +135,35 @@ String Methods Enhancements
129
135
130
136
- Following new methods are accesible via ``.str`` accessor to apply the function to each values. This is intended to make it more consistent with standard methods on strings. (:issue:`9282`, :issue:`9352`, :issue:`9386`, :issue:`9387`, :issue:`9439`)
- :meth:`Series.str.pad` and :meth:`Series.str.center` now accept ``fillchar`` option to specify filling character (:issue:`9352`)
148
153
149
-
.. ipython:: python
150
-
151
-
s = Series(['12', '300', '25'])
152
-
s.str.pad(5, fillchar='_')
154
+
.. ipython:: python
153
155
156
+
s = Series(['12', '300', '25'])
157
+
s.str.pad(5, fillchar='_')
154
158
155
159
- Added :meth:`Series.str.slice_replace`, which previously raised ``NotImplementedError`` (:issue:`8888`)
156
160
157
-
.. ipython:: python
161
+
.. ipython:: python
158
162
159
-
s = Series(['ABCD', 'EFGH', 'IJK'])
160
-
s.str.slice_replace(1, 3, 'X')
161
-
# replaced with empty char
162
-
s.str.slice_replace(0, 1)
163
+
s = Series(['ABCD', 'EFGH', 'IJK'])
164
+
s.str.slice_replace(1, 3, 'X')
165
+
# replaced with empty char
166
+
s.str.slice_replace(0, 1)
163
167
164
168
.. _whatsnew_0160.enhancements.other:
165
169
@@ -175,25 +179,25 @@ Other enhancements
175
179
176
180
This method is also exposed by the lower level ``Index.get_indexer`` and ``Index.get_loc`` methods.
177
181
178
-
- Allow Stata files to be read incrementally with an iterator; support for long strings in Stata files. See the docs :ref:`here<io.stata_reader>`. (issue:`9493`:)
182
+
- The ``read_excel()`` function's :ref:`sheetname <_io.specifying_sheets>` argument now accepts a list and ``None``, to get multiple or all sheets respectively. If more than one sheet is specified, a dictionary is returned. (:issue:`9450`)
183
+
184
+
.. code-block:: python
185
+
186
+
# Returns the 1st and 4th sheet, as a dictionary of DataFrames.
- Allow Stata files to be read incrementally with an iterator; support for long strings in Stata files. See the docs :ref:`here<io.stata_reader>` (:issue:`9493`:).
179
191
- Paths beginning with ~ will now be expanded to begin with the user's home directory (:issue:`9066`)
180
192
- Added time interval selection in ``get_data_yahoo`` (:issue:`9071`)
181
193
- Added ``Timestamp.to_datetime64()`` to complement ``Timedelta.to_timedelta64()`` (:issue:`9255`)
182
194
- ``tseries.frequencies.to_offset()`` now accepts ``Timedelta`` as input (:issue:`9064`)
183
195
- Lag parameter was added to the autocorrelation method of ``Series``, defaults to lag-1 autocorrelation (:issue:`9192`)
184
196
- ``Timedelta`` will now accept ``nanoseconds`` keyword in constructor (:issue:`9273`)
185
197
- SQL code now safely escapes table and column names (:issue:`8986`)
186
-
187
198
- Added auto-complete for ``Series.str.<tab>``, ``Series.dt.<tab>`` and ``Series.cat.<tab>`` (:issue:`9322`)
188
199
- ``Index.get_indexer`` now supports ``method='pad'`` and ``method='backfill'`` even for any target array, not just monotonic targets. These methods also work for monotonic decreasing as well as monotonic increasing indexes (:issue:`9258`).
189
200
- ``Index.asof`` now works on all index types (:issue:`9258`).
190
-
- The ``read_excel()`` function's :ref:`sheetname <_io.specifying_sheets>` argument now accepts a list and ``None``, to get multiple or all sheets respectively. If more than one sheet is specified, a dictionary is returned. (:issue:`9450`)
191
-
192
-
.. code-block:: python
193
-
194
-
# Returns the 1st and 4th sheet, as a dictionary of DataFrames.
- A ``verbose`` argument has been augmented in ``io.read_excel()``, defaults to False. Set to True to print sheet names as they are parsed. (:issue:`9450`)
198
202
- Added ``days_in_month`` (compatibility alias ``daysinmonth``) property to ``Timestamp``, ``DatetimeIndex``, ``Period``, ``PeriodIndex``, and ``Series.dt`` (:issue:`9572`)
199
203
- Added ``decimal`` option in ``to_csv`` to provide formatting for non-'.' decimal separators (:issue:`781`)
@@ -486,15 +490,6 @@ Other API Changes
486
490
487
491
To reproduce the old behavior, simply add more precision to the label (e.g., use ``2000-02-01`` instead of ``2000-02``).
488
492
489
-
- A Spurious ``SettingWithCopy`` Warning was generated when setting a new item in a frame in some cases (:issue:`8730`)
490
-
491
-
The following would previously report a ``SettingWithCopy`` Warning.
0 commit comments