Skip to content

Commit 4e2ff0a

Browse files
committed
More review (jreback)
1 parent d438832 commit 4e2ff0a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

doc/source/text.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,7 @@ An arbitrary combination of ``Series``, ``Index`` and ``np.ndarray`` (1-dimensio
312312
313313
s
314314
u
315-
u.values
316-
w = u.index.astype(str)
317-
w
318-
s.str.cat([u, u.values, w], na_rep='-')
315+
s.str.cat([u, u.values, pd.Index(u)], na_rep='-')
319316
320317
All elements must match in length to the calling ``Series`` (or ``Index``), except those having an index if ``join`` is not None:
321318

0 commit comments

Comments
 (0)