Skip to content

Commit b10d6ee

Browse files
committed
updated docs for pypi installation and running tests
1 parent f59ec4b commit b10d6ee

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ In particular, it provides:
99
1. a way to map DataFrame columns to transformations, which are later recombined into features
1010
2. a way to cross-validate a pipeline that takes a pandas DataFrame as input.
1111

12+
Installation
13+
------------
14+
15+
You can install `sklearn-pandas` with `pip`.
16+
17+
# pip install sklearn-pandas
18+
19+
Tests
20+
-----
21+
22+
The examples in this file double as basic sanity tests. To run them, use `doctest`, which is included with python.
23+
24+
# python -m doctest README.md
25+
1226
Usage
1327
-----
1428

setup.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env python
2+
3+
from setuptools import setup
4+
5+
setup(name='sklearn-pandas',
6+
version='0.2',
7+
description='Pandas integration with sklearn',
8+
author='Paul Butler',
9+
author_email='[email protected]',
10+
url='https://github.com/paulgb/sklearn-pandas',
11+
packages=['sklearn_pandas'],
12+
keywords=['scikit', 'sklearn', 'pandas'],
13+
install_requires=['scikit-learn>=0.13.1', 'pandas>=0.10.1']
14+
)
15+

0 commit comments

Comments
 (0)