@@ -148,8 +148,10 @@ Notice the "object" dtype.
148
148
With a ``CategoricalDtype`` of all numerics, datetimes, or
149
149
timedeltas, we can automatically convert to the correct type
150
150
151
- dtype = {'B': CategoricalDtype([1, 2, 3])}
152
- pd.read_csv(StringIO(data), dtype=dtype).B.cat.categories
151
+ .. ipython:: python
152
+
153
+ dtype = {'B': CategoricalDtype([1, 2, 3])}
154
+ pd.read_csv(StringIO(data), dtype=dtype).B.cat.categories
153
155
154
156
The values have been correctly interpreted as integers.
155
157
@@ -283,8 +285,8 @@ New Behavior:
283
285
Dependencies have increased minimum versions
284
286
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
285
287
286
- We have updated our minimum supported versions of dependencies (:issue:`15206`, :issue:`15543`, :issue:`15214`)
287
- ). If installed, we now require:
288
+ We have updated our minimum supported versions of dependencies (:issue:`15206`, :issue:`15543`, :issue:`15214`).
289
+ If installed, we now require:
288
290
289
291
+--------------+-----------------+----------+
290
292
| Package | Minimum Version | Required |
0 commit comments