Skip to content

Commit cd1bea8

Browse files
committed
DOC: release notes fixup related to GH4936
1 parent b97a99e commit cd1bea8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/source/release.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Improvements to existing features
157157
- Add ``halflife`` option to exponentially weighted moving functions (PR
158158
:issue:`4998`)
159159
- ``to_dict`` now takes ``records`` as a possible outtype. Returns an array
160-
of column-keyed dictionaries. (:pullrequest:`4936`)
160+
of column-keyed dictionaries. (:issue:`4936`)
161161

162162
API Changes
163163
~~~~~~~~~~~

doc/source/v0.13.0.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Enhancements
307307
- Added a more informative error message when plot arguments contain
308308
overlapping color and style arguments (:issue:`4402`)
309309
- ``to_dict`` now takes ``records`` as a possible outtype. Returns an array
310-
of column-keyed dictionaries. (:pullrequest:`4936`)
310+
of column-keyed dictionaries. (:issue:`4936`)
311311

312312
- NaN handing in get_dummies (:issue:`4446`) with `dummy_na`
313313

@@ -425,7 +425,7 @@ Enhancements
425425
- ``read_stata` now accepts Stata 13 format (:issue:`4291`)
426426
- ``read_fwf`` now infers the column specifications from the first 100 rows of
427427
the file if the data has correctly separated and properly aligned columns
428-
using the delimiter provided to the function (:issue:`4488`).
428+
using the delimiter provided to the function (:issue:`4488`).
429429

430430
.. _whatsnew_0130.experimental:
431431

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def to_dict(self, outtype='dict'):
666666
elif outtype.lower().startswith('s'):
667667
return dict((k, v) for k, v in compat.iteritems(self))
668668
elif outtype.lower().startswith('r'):
669-
return [dict((k, v) for k, v in zip(self.columns, row)) \
669+
return [dict((k, v) for k, v in zip(self.columns, row))
670670
for row in self.values]
671671
else: # pragma: no cover
672672
raise ValueError("outtype %s not understood" % outtype)

0 commit comments

Comments
 (0)