Skip to content

Commit

Permalink
Removed nested list example
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Sep 18, 2018
1 parent 41c8297 commit 2e76e84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/source/text.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,15 @@ All one-dimensional list-likes can be combined in a list-like container (includi
s
u
s.str.cat([u.values, ['A', 'B', 'C', 'D'], map(str, u.index)], na_rep='-')
s.str.cat([u.values,
u.index.astype(str).values], na_rep='-')
All elements must match in length to the calling ``Series`` (or ``Index``), except those having an index if ``join`` is not None:

.. ipython:: python
v
s.str.cat([u, v, ['A', 'B', 'C', 'D']], join='outer', na_rep='-')
s.str.cat([u, v], join='outer', na_rep='-')
If using ``join='right'`` on a list of ``others`` that contains different indexes,
the union of these indexes will be used as the basis for the final concatenation:
Expand Down

0 comments on commit 2e76e84

Please sign in to comment.