Skip to content

Commit db465bb

Browse files
committed
DOC: add note about converters now blocking type coersion in file parsers
1 parent 9c812c2 commit db465bb

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

RELEASE.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ pandas 0.9.1
4040
upsampled to monthly will span all months in each year
4141
- Period.end_time will yield timestamp at last nanosecond in the interval
4242
(#2124, #2125, #1764)
43+
- File parsers no longer coerce to float or bool for columns that have custom
44+
converters specified (#2184)
4345

4446
**Improvements to existing features**
4547

doc/source/v0.9.1.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _whatsnew_0901:
22

3-
v0.9.1 (November 6, 2012)
3+
v0.9.1 (November 8, 2012)
44
-------------------------
55

66
This is a bugfix release from 0.9.0 and includes several new features and
@@ -78,6 +78,21 @@ API changes
7878

7979
p.end_time
8080

81+
- File parsers no longer coerce to float or bool for columns that have custom
82+
converters specified (GH2184_)
83+
84+
.. ipython:: python
85+
86+
data = """\
87+
A,B,C
88+
00001,001,5
89+
00002,002,6
90+
"""
91+
92+
from cStringIO import StringIO
93+
94+
read_csv(StringIO(data), converters={'A' : lambda x: x.strip()})
95+
8196

8297
See the `full release notes
8398
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
@@ -97,6 +112,7 @@ on GitHub for a complete list.
97112
.. _GH2125: https://github.com/pydata/pandas/issues/2125
98113
.. _GH2124: https://github.com/pydata/pandas/issues/2124
99114
.. _GH2110: https://github.com/pydata/pandas/issues/2110
115+
.. _GH2184: https://github.com/pydata/pandas/issues/2184
100116

101117
.. _GH2181: https://github.com/pydata/pandas/issues/2181
102118
.. _GH2180: https://github.com/pydata/pandas/issues/2180

0 commit comments

Comments
 (0)