- Install
tox
either globally or in a virtualenv:pip install tox
. - Click on the "Fork" button at the top-right of the GitHub page.
- Clone your fork. Example:
git clone git@github.com:dukebody/sklearn-pandas.git
. - Create a new branch to work on the issue/feature you want.
- Hack out your code. To run the tests and
flake8
, just runtox
. Tests live in thetests
subfolder. - Submit a new PR with your code, indicating in the PR which issue/feature it relates to.
Note: You don't need to install sklearn-pandas
in your virtualenv to run the tests. tox
will automatically create multiple virtual environments to run them with multiple package versions.
- Remember that
sklearn-pandas
does not expect to do everything. Its scope is to serve as an integration layer betweenscikit-learn
andpandas
where needed. If the feature you want to implement adds a lot of complexity to the code, think twice if it is really needed or can be worked around in a few lines. - Always write tests for any change introduced.
- If the change involves new options or modifies the public interface, modify also the
README
file explaining how to use it. It uses doctests to test the documentation itself. - If the change is not just cosmetic, add a line to the Changelog section and your name to the Credits section of the
README
file.