Skip to content

Commit 1006e96

Browse files
committed
Fixup whitespace
1 parent d0dfc6a commit 1006e96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: doc/source/text.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ and ``repl`` must be strings:
157157
158158
# These lines are equivalent
159159
dollars.str.replace(r'-\$', '-')
160-
dollars.str.replace('-$', '-', regex=False)
160+
dollars.str.replace('-$', '-', regex=False)
161161
162162
.. versionadded:: 0.20.0
163163

Diff for: doc/source/whatsnew/v0.23.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ Other API Changes
620620
- Set operations (union, difference...) on :class:`IntervalIndex` with incompatible index types will now raise a ``TypeError`` rather than a ``ValueError`` (:issue:`19329`)
621621
- :class:`DateOffset` objects render more simply, e.g. ``<DateOffset: days=1>`` instead of ``<DateOffset: kwds={'days': 1}>`` (:issue:`19403`)
622622
- ``Categorical.fillna`` now validates its ``value`` and ``method`` keyword arguments. It now raises when both or none are specified, matching the behavior of :meth:`Series.fillna` (:issue:`19682`)
623-
- :func:`Series.str.replace` now takes an optional `regex` keyword which, when set to ``False``, uses literal string replacement rather than regex replacement (:issue:`16808`)
623+
- :func:`Series.str.replace` now takes an optional `regex` keyword which, when set to ``False``, uses literal string replacement rather than regex replacement (:issue:`16808`)
624624

625625
.. _whatsnew_0230.deprecations:
626626

0 commit comments

Comments
 (0)