chbrown / datasci-python

Data science utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Data science utilities


Languages

Language:Python 100.0%