Skip to content

Commit ef477fb

Browse files
author
Mahmoud Lababidi
committed
added scipy to setup.py. modified test to use a list.
1 parent 66ae86b commit ef477fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
keywords=['scikit', 'sklearn', 'pandas'],
2020
install_requires=[
2121
'scikit-learn>=0.13',
22+
'scipy>=0.14',
2223
'pandas>=0.11.0',
2324
'numpy>=1.6.1']
2425
)

tests/test_dataframe_mapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_with_iris_dataframe(iris_dataframe):
5454
def test_with_car_dataframe(cars_dataframe):
5555
pipeline = Pipeline([
5656
("preprocess", DataFrameMapper([
57-
("description", CountVectorizer()),
57+
("description", [PassthroughTransformer(), CountVectorizer()]),
5858
])),
5959
("classify", SVC(kernel='linear'))
6060
])

0 commit comments

Comments
 (0)