Data science utilities


License
MIT
Install
pip install datasci==0.2.0

Documentation

datasci

Latest version on PyPI

Install from PyPI:

pip install datasci

Install in development mode:

pip install -e .

Features

Jupyter notebook initialization

%run -m datasci.notebook.init

Pandas helpers

import pandas as pd
df = pd.DataFrame(...)

from datasci.pandas import drop_na_columns, drop_uninformative_columns
df_without_na = drop_na_columns(df)
df_informative = drop_uninformative_columns(df)

# or, all-together:
df = pd.DataFrame(...).pipe(drop_na_columns).pipe(drop_uninformative_columns)

Testing

python setup.py test

License

Copyright 2018–2020 Christopher Brown. MIT Licensed.