Skip to content

Commit d77f072

Browse files
committed
DOC: whatsnew edits
1 parent 89ea1a5 commit d77f072

File tree

1 file changed

+29
-31
lines changed

1 file changed

+29
-31
lines changed

doc/source/whatsnew/v0.18.0.txt

+29-31
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,6 @@ In addition, ``.round()``, ``.floor()`` and ``.ceil()`` will be available thru t
201201
s
202202
s.dt.round('D')
203203

204-
.. _whatsnew_0180.api:
205-
206-
- ``pandas.merge()`` and ``DataFrame.merge()`` will show a specific error message when trying to merge with an object that is not of type ``DataFrame`` or a subclass (:issue:`12081`)
207-
208204
.. _whatsnew_0180.api_breaking:
209205

210206
Backwards incompatible API changes
@@ -319,29 +315,6 @@ other anchored offsets like ``MonthBegin`` and ``YearBegin``.
319315
d = pd.Timestamp('2014-02-15')
320316
d + pd.offsets.QuarterBegin(n=0, startingMonth=2)
321317

322-
323-
Other API Changes
324-
^^^^^^^^^^^^^^^^^
325-
326-
- ``DataFrame.between_time`` and ``Series.between_time`` now only parse a fixed set of time strings. Parsing of date strings is no longer supported and raises a ``ValueError``. (:issue:`11818`)
327-
328-
.. ipython:: python
329-
330-
s = pd.Series(range(10), pd.date_range('2015-01-01', freq='H', periods=10))
331-
s.between_time("7:00am", "9:00am")
332-
333-
This will now raise.
334-
335-
.. code-block:: python
336-
337-
In [2]: s.between_time('20150101 07:00:00','20150101 09:00:00')
338-
ValueError: Cannot convert arg ['20150101 07:00:00'] to a time.
339-
340-
- ``.memory_usage`` now includes values in the index, as does memory_usage in ``.info`` (:issue:`11597`)
341-
342-
- ``DataFrame.to_latex()`` now supports non-ascii encodings (eg utf-8) in Python 2 with the parameter ``encoding`` (:issue:`7061`)
343-
344-
345318
Changes to eval
346319
^^^^^^^^^^^^^^^
347320

@@ -397,6 +370,32 @@ assignments are valid for multi-line expressions.
397370
g = f / 2.0""", inplace=True)
398371
df
399372

373+
374+
.. _whatsnew_0180.api:
375+
376+
Other API Changes
377+
^^^^^^^^^^^^^^^^^
378+
379+
- ``DataFrame.between_time`` and ``Series.between_time`` now only parse a fixed set of time strings. Parsing of date strings is no longer supported and raises a ``ValueError``. (:issue:`11818`)
380+
381+
.. ipython:: python
382+
383+
s = pd.Series(range(10), pd.date_range('2015-01-01', freq='H', periods=10))
384+
s.between_time("7:00am", "9:00am")
385+
386+
This will now raise.
387+
388+
.. code-block:: python
389+
390+
In [2]: s.between_time('20150101 07:00:00','20150101 09:00:00')
391+
ValueError: Cannot convert arg ['20150101 07:00:00'] to a time.
392+
393+
- ``.memory_usage`` now includes values in the index, as does memory_usage in ``.info`` (:issue:`11597`)
394+
395+
- ``DataFrame.to_latex()`` now supports non-ascii encodings (eg utf-8) in Python 2 with the parameter ``encoding`` (:issue:`7061`)
396+
397+
- ``pandas.merge()`` and ``DataFrame.merge()`` will show a specific error message when trying to merge with an object that is not of type ``DataFrame`` or a subclass (:issue:`12081`)
398+
400399
.. _whatsnew_0180.deprecations:
401400

402401
Deprecations
@@ -502,7 +501,7 @@ Bug Fixes
502501
- Bug in ``pd.read_clipboard`` and ``pd.to_clipboard`` functions not supporting Unicode; upgrade included ``pyperclip`` to v1.5.15 (:issue:`9263`)
503502
- Bug in ``DataFrame.query`` containing an assignment (:issue:`8664`)
504503

505-
- Bug in ``from_msgpack`` where ``__contains__()`` fails for columns of the unpacked ``DataFrame``, if the ``DataFrame`` has object columns. (:issue: `11880`)
504+
- Bug in ``from_msgpack`` where ``__contains__()`` fails for columns of the unpacked ``DataFrame``, if the ``DataFrame`` has object columns. (:issue:`11880`)
506505

507506

508507
- Bug in timezone info lost when broadcasting scalar datetime to ``DataFrame`` (:issue:`11682`)
@@ -521,16 +520,15 @@ Bug Fixes
521520
- Bug in ``Index`` prevents copying name of passed ``Index``, when a new name is not provided (:issue:`11193`)
522521
- Bug in ``read_excel`` failing to read any non-empty sheets when empty sheets exist and ``sheetname=None`` (:issue:`11711`)
523522
- Bug in ``read_excel`` failing to raise ``NotImplemented`` error when keywords ``parse_dates`` and ``date_parser`` are provided (:issue:`11544`)
524-
- Bug in ``read_sql`` with pymysql connections failing to return chunked data (:issue:`11522`)
523+
- Bug in ``read_sql`` with ``pymysql`` connections failing to return chunked data (:issue:`11522`)
525524
- Bug in ``.to_csv`` ignoring formatting parameters ``decimal``, ``na_rep``, ``float_format`` for float indexes (:issue:`11553`)
526525
- Bug in ``Int64Index`` and ``Float64Index`` preventing the use of the modulo operator (:issue:`9244`)
527526

528527

529528
- Bug in ``DataFrame`` when masking an empty ``DataFrame`` (:issue:`11859`)
530529

531530

532-
- Bug in ``.plot`` potentially modifying the ``colors`` input when the number
533-
of columns didn't match the number of series provided (:issue:`12039`).
531+
- Bug in ``.plot`` potentially modifying the ``colors`` input when the number of columns didn't match the number of series provided (:issue:`12039`).
534532

535533

536534
- Bug in ``.groupby`` where a ``KeyError`` was not raised for a wrong column if there was only one row in the dataframe (:issue:`11741`)

0 commit comments

Comments
 (0)