Skip to content

Commit e8e5a13

Browse files
4th update for issue 3439
1 parent 2ce484d commit e8e5a13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/reshape/reshape.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,8 +988,7 @@ def wide_to_long(df, stubnames, i, j, sep="", suffix='\d+'):
988988
... 'B(quarterly)-2011': np.random.rand(3),
989989
... 'X' : np.random.randint(3, size=3)})
990990
>>> df['id'] = df.index
991-
>>> df
992-
... # doctest: +NORMALIZE_WHITESPACE
991+
>>> df # doctest: +NORMALIZE_WHITESPACE
993992
A(quarterly)-2010 A(quarterly)-2011 B(quarterly)-2010 B(quarterly)-2011 \
994993
0 0.548814 0.544883 0.437587 0.383442
995994
1 0.715189 0.423655 0.891773 0.791725

0 commit comments

Comments
 (0)