DOC: whatsnew v0.22.0 edits · pandas-dev/pandas@fdba133 (original) (raw)

Original file line number Diff line number Diff line change
@@ -277,7 +277,10 @@ Conversion
277 277
278 278 - Bug in :class:`Index` constructor with `dtype='uint64'` where int-like floats were not coerced to :class:`UInt64Index` (:issue:`18400`)
279 279 - Bug in the :class:`DataFrame` constructor in which data containing very large positive or very large negative numbers was causing ``OverflowError`` (:issue:`18584`)
280 --
280 +- Fixed a bug where creating a Series from an array that contains both tz-naive and tz-aware values will result in a Series whose dtype is tz-aware instead of object (:issue:`16406`)
281 +- Adding a ``Period`` object to a ``datetime`` or ``Timestamp`` object will now correctly raise a ``TypeError`` (:issue:`17983`)
282 +- Fixed a bug where ``FY5253`` date offsets could incorrectly raise an ``AssertionError`` in arithmetic operatons (:issue:`14774`)
283 +
281 284
282 285 Indexing
283 286 ^^^^^^^^
@@ -327,7 +330,8 @@ Reshaping
327 330 ^^^^^^^^^
328 331
329 332 - Bug in :func:`DataFrame.stack` which fails trying to sort mixed type levels under Python 3 (:issue:`18310`)
330 --
333 +- Fixed construction of a :class:`Series` from a ``dict`` containing ``NaN`` as key (:issue:`18480`)
334 +
331 335 -
332 336
333 337 Numeric
@@ -348,8 +352,4 @@ Other
348 352 ^^^^^
349 353
350 354 - Improved error message when attempting to use a Python keyword as an identifier in a numexpr query (:issue:`18221`)
351 -- Fixed a bug where creating a Series from an array that contains both tz-naive and tz-aware values will result in a Series whose dtype is tz-aware instead of object (:issue:`16406`)
352 -- Fixed construction of a :class:`Series` from a ``dict`` containing ``NaN`` as key (:issue:`18480`)
353 -- Adding a ``Period`` object to a ``datetime`` or ``Timestamp`` object will now correctly raise a ``TypeError`` (:issue:`17983`)
354 -- Fixed a bug where ``FY5253`` date offsets could incorrectly raise an ``AssertionError`` in arithmetic operatons (:issue:`14774`)
355 355 -