diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 99b408bac8a9f..c5f6b36cc038e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -233,6 +233,7 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pandas/core/reshape/pivot.py \ pandas/core/reshape/reshape.py \ pandas/core/reshape/tile.py \ + pandas/core/reshape/melt.py \ -k"-crosstab -pivot_table -cut" RET=$(($RET + $?)) ; echo $MSG "DONE" diff --git a/pandas/core/reshape/melt.py b/pandas/core/reshape/melt.py index 99224f6fb7c5b..1255189a9ce1a 100644 --- a/pandas/core/reshape/melt.py +++ b/pandas/core/reshape/melt.py @@ -386,7 +386,7 @@ def wide_to_long(df, stubnames, i, j, sep="", suffix=r'\d+'): 8 3 3 2.1 2.9 >>> l = pd.wide_to_long(df, stubnames='ht', i=['famid', 'birth'], j='age', - sep='_', suffix='\w') + ... sep='_', suffix='\w+') >>> l ... # doctest: +NORMALIZE_WHITESPACE ht