Data science utilities
Project description
datasci
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file datasci-0.4.0.tar.gz
.
File metadata
- Download URL: datasci-0.4.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 499bf9d64da0eb54aed347fa31137f0dc4b4213be31dbfdfa2831b26b9bf5afb |
|
MD5 | 1866b366ac3ede7bdf58a1481690710a |
|
BLAKE2b-256 | 7b1337dafbd5a2839314476ed9b74a184972cff8d83af4afcab82114d5c66c0d |
File details
Details for the file datasci-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: datasci-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8faafc08ed08447858691b9dd176b079677f0f2b5ecc19766c9ee528ae1049cd |
|
MD5 | 94140dacfdd1b82e8ccd667491ecde70 |
|
BLAKE2b-256 | 23f0dcadfb26c224f42d264bb34e7f1881696a2841e23268d51730746f39d99c |