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 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.

Files for datasci, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size datasci-0.3.4-py2.py3-none-any.whl (7.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size datasci-0.3.4.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page