Skip to main content

Data science utilities

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasci-0.4.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

datasci-0.4.0-py2.py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page