File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ pandas 0.9.1
40
40
upsampled to monthly will span all months in each year
41
41
- Period.end_time will yield timestamp at last nanosecond in the interval
42
42
(#2124, #2125, #1764)
43
+ - File parsers no longer coerce to float or bool for columns that have custom
44
+ converters specified (#2184)
43
45
44
46
**Improvements to existing features **
45
47
Original file line number Diff line number Diff line change 1
1
.. _whatsnew_0901:
2
2
3
- v0.9.1 (November 6 , 2012)
3
+ v0.9.1 (November 8 , 2012)
4
4
-------------------------
5
5
6
6
This is a bugfix release from 0.9.0 and includes several new features and
@@ -78,6 +78,21 @@ API changes
78
78
79
79
p.end_time
80
80
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
+
81
96
82
97
See the `full release notes
83
98
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
@@ -97,6 +112,7 @@ on GitHub for a complete list.
97
112
.. _GH2125: https://github.com/pydata/pandas/issues/2125
98
113
.. _GH2124: https://github.com/pydata/pandas/issues/2124
99
114
.. _GH2110: https://github.com/pydata/pandas/issues/2110
115
+ .. _GH2184: https://github.com/pydata/pandas/issues/2184
100
116
101
117
.. _GH2181: https://github.com/pydata/pandas/issues/2181
102
118
.. _GH2180: https://github.com/pydata/pandas/issues/2180
You can’t perform that action at this time.
0 commit comments