Skip to content
Snippets Groups Projects
Commit 94b67bf1 authored by Alexandre Gramfort's avatar Alexandre Gramfort
Browse files

BUG : fix doctest in datasets/base.py

parent b5da7793
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,8 @@ def load_iris(): ...@@ -43,8 +43,8 @@ def load_iris():
>>> data = load_iris() >>> data = load_iris()
>>> print data.target[[10, 25, 50]] >>> print data.target[[10, 25, 50]]
[0 0 1] [0 0 1]
>>> print data.target_names[data.target[[10, 25, 50]]] >>> print data.target_names
['setosa' 'setosaosa' 'versicolor'] ['setosa' 'versicolor' 'virginica']
""" """
data_file = csv.reader(open(os.path.dirname(__file__) data_file = csv.reader(open(os.path.dirname(__file__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment