Skip to content

Commit 56be091

Browse files
committed
Update whatsnew and fix pep8 issue
1 parent 5f05fdc commit 56be091

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/source/whatsnew/v0.19.2.txt

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Performance Improvements
2222
~~~~~~~~~~~~~~~~~~~~~~~~
2323

2424
- Improved performance of ``.replace()`` (:issue:`12745`)
25+
- Improved performance ``Series`` creation with a datetime index and dictionary data (:issue:`14894`)
2526

2627
.. _whatsnew_0192.enhancements.other:
2728

pandas/core/series.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ def __init__(self, data=None, index=None, dtype=None, name=None,
188188
if len(data):
189189
# coerce back to datetime objects for lookup
190190
data = _dict_compat(data)
191-
data = lib.fast_multiget(data, index.asobject.values,
191+
data = lib.fast_multiget(data,
192+
index.asobject.values,
192193
default=np.nan)
193194
else:
194195
data = np.nan

0 commit comments

Comments
 (0)