Update whatsnew and fix pep8 issue

This commit is contained in:
Nate Yoder 2016-12-16 08:30:25 -08:00
parent 5f05fdcfbf
commit 56be091356
2 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Improved performance of ``.replace()`` (:issue:`12745`)
- Improved performance ``Series`` creation with a datetime index and dictionary data (:issue:`14894`)
.. _whatsnew_0192.enhancements.other:

View File

@ -188,7 +188,8 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin,
if len(data):
# coerce back to datetime objects for lookup
data = _dict_compat(data)
data = lib.fast_multiget(data, index.asobject.values,
data = lib.fast_multiget(data,
index.asobject.values,
default=np.nan)
else:
data = np.nan