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/whatsnew/v0.18.0.txt
+29-31
Original file line number
Diff line number
Diff line change
@@ -201,10 +201,6 @@ In addition, ``.round()``, ``.floor()`` and ``.ceil()`` will be available thru t
201
201
s
202
202
s.dt.round('D')
203
203
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
-
208
204
.. _whatsnew_0180.api_breaking:
209
205
210
206
Backwards incompatible API changes
@@ -319,29 +315,6 @@ other anchored offsets like ``MonthBegin`` and ``YearBegin``.
319
315
d = pd.Timestamp('2014-02-15')
320
316
d + pd.offsets.QuarterBegin(n=0, startingMonth=2)
321
317
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
-
345
318
Changes to eval
346
319
^^^^^^^^^^^^^^^
347
320
@@ -397,6 +370,32 @@ assignments are valid for multi-line expressions.
397
370
g = f / 2.0""", inplace=True)
398
371
df
399
372
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
+
400
399
.. _whatsnew_0180.deprecations:
401
400
402
401
Deprecations
@@ -502,7 +501,7 @@ Bug Fixes
502
501
- Bug in ``pd.read_clipboard`` and ``pd.to_clipboard`` functions not supporting Unicode; upgrade included ``pyperclip`` to v1.5.15 (:issue:`9263`)
503
502
- Bug in ``DataFrame.query`` containing an assignment (:issue:`8664`)
504
503
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`)
506
505
507
506
508
507
- Bug in timezone info lost when broadcasting scalar datetime to ``DataFrame`` (:issue:`11682`)
@@ -521,16 +520,15 @@ Bug Fixes
521
520
- Bug in ``Index`` prevents copying name of passed ``Index``, when a new name is not provided (:issue:`11193`)
522
521
- Bug in ``read_excel`` failing to read any non-empty sheets when empty sheets exist and ``sheetname=None`` (:issue:`11711`)
523
522
- 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`)
525
524
- Bug in ``.to_csv`` ignoring formatting parameters ``decimal``, ``na_rep``, ``float_format`` for float indexes (:issue:`11553`)
526
525
- Bug in ``Int64Index`` and ``Float64Index`` preventing the use of the modulo operator (:issue:`9244`)
527
526
528
527
529
528
- Bug in ``DataFrame`` when masking an empty ``DataFrame`` (:issue:`11859`)
530
529
531
530
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`).
534
532
535
533
536
534
- 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