Skip to content

Commit dc2af53

Browse files
author
Montana Low
committed
add a name to the other series
1 parent bd36f2d commit dc2af53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ def test_split_blank_string(self):
19991999
exp = DataFrame([[]])
20002000
tm.assert_frame_equal(result, exp)
20012001

2002-
values = Series(['a b c', 'a b', '', ' '])
2002+
values = Series(['a b c', 'a b', '', ' '], name='test')
20032003
result = values.str.split(expand=True)
20042004
exp = DataFrame([['a', 'b', 'c'], ['a', 'b', np.nan],
20052005
[np.nan, np.nan, np.nan], [np.nan, np.nan, np.nan]])

0 commit comments

Comments
 (0)