Skip to content

Commit bd36f2d

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

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
@@ -1994,7 +1994,7 @@ def test_rsplit(self):
19941994

19951995
def test_split_blank_string(self):
19961996
# expand blank split GH 20067
1997-
values = Series([''])
1997+
values = Series([''], name='test')
19981998
result = values.str.split(expand=True)
19991999
exp = DataFrame([[]])
20002000
tm.assert_frame_equal(result, exp)

0 commit comments

Comments
 (0)