Skip to content

Commit 72c7a39

Browse files
committed
DOC: whatsnew typos
1 parent def3bce commit 72c7a39

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/source/whatsnew/v0.21.0.txt

+6-4
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ Notice the "object" dtype.
148148
With a ``CategoricalDtype`` of all numerics, datetimes, or
149149
timedeltas, we can automatically convert to the correct type
150150

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
153155

154156
The values have been correctly interpreted as integers.
155157

@@ -283,8 +285,8 @@ New Behavior:
283285
Dependencies have increased minimum versions
284286
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
285287

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:
288290

289291
+--------------+-----------------+----------+
290292
| Package | Minimum Version | Required |

0 commit comments

Comments
 (0)