Skip to content

Commit 8ec2f1a

Browse files
committed
Fixed tiny error caught by linter
1 parent 71b42f8 commit 8ec2f1a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pandas/core/strings.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _get_array_list(arr, others, align=True):
5252
arr, others = arr.align(others, join='left')
5353
arrays = [list(arr), list(others)]
5454
elif len(others) and isinstance(com._values_from_object(others)[0],
55-
(list, np.ndarray, Series)):
55+
(list, np.ndarray, Series)):
5656
arrays = [arr] + list(others)
5757
else:
5858
arrays = [arr, others]
@@ -78,6 +78,11 @@ def str_cat(arr, others=None, sep=None, na_rep=None, align=None):
7878
If None, concatenates without any separator.
7979
na_rep : string or None, default None
8080
If None, NA in the series are ignored.
81+
align : bool or None, default None
82+
If used between two Series, determines whether they are aligned
83+
before concatenation. Currently, None is interpreted as False
84+
but raises a UserWarning. In a future version of pandas, this
85+
default of align will change to True.
8186
8287
Returns
8388
-------

0 commit comments

Comments
 (0)