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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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

Hashes for datasci-0.4.0.tar.gz
Algorithm Hash digest
SHA256 499bf9d64da0eb54aed347fa31137f0dc4b4213be31dbfdfa2831b26b9bf5afb
MD5 1866b366ac3ede7bdf58a1481690710a
BLAKE2b-256 7b1337dafbd5a2839314476ed9b74a184972cff8d83af4afcab82114d5c66c0d

See more details on using hashes here.

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

Hashes for datasci-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8faafc08ed08447858691b9dd176b079677f0f2b5ecc19766c9ee528ae1049cd
MD5 94140dacfdd1b82e8ccd667491ecde70
BLAKE2b-256 23f0dcadfb26c224f42d264bb34e7f1881696a2841e23268d51730746f39d99c

See more details on using hashes here.

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