Skip to content

Commit 35d59cf

Browse files
MarckKPingviinituutti
authored andcommitted
DOC: Fix validation type error RT04 (pandas-dev#25107) (pandas-dev#25129)
1 parent c96d990 commit 35d59cf

File tree

11 files changed

+105
-79
lines changed

11 files changed

+105
-79
lines changed

ci/code_checks.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ fi
240240
### DOCSTRINGS ###
241241
if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
242242

243-
MSG='Validate docstrings (GL06, GL07, GL09, SS04, PR03, PR05, EX04)' ; echo $MSG
244-
$BASE_DIR/scripts/validate_docstrings.py --format=azure --errors=GL06,GL07,GL09,SS04,PR03,PR05,EX04
243+
MSG='Validate docstrings (GL06, GL07, GL09, SS04, PR03, PR05, EX04, RT04)' ; echo $MSG
244+
$BASE_DIR/scripts/validate_docstrings.py --format=azure --errors=GL06,GL07,GL09,SS04,PR03,PR05,EX04,RT04
245245
RET=$(($RET + $?)) ; echo $MSG "DONE"
246246

247247
fi

pandas/core/algorithms.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ def unique(values):
289289
Returns
290290
-------
291291
unique values.
292-
- If the input is an Index, the return is an Index
293-
- If the input is a Categorical dtype, the return is a Categorical
294-
- If the input is a Series/ndarray, the return will be an ndarray
292+
If the input is an Index, the return is an Index
293+
If the input is a Categorical dtype, the return is a Categorical
294+
If the input is a Series/ndarray, the return will be an ndarray
295295
296296
See Also
297297
--------

0 commit comments

Comments
 (0)