Skip to main content

Datazets is a python package to import well known example data sets.

Project description

datazets

Python Pypi Docs LOC Downloads Downloads License Forks Issues Project Status GitHub Repo stars GitHub repo size Donate

  • datazets is Python package

Star this repo if you like it! ⭐️

Contents

Installation

  • Install datazets from PyPI (recommended). datazets is compatible with Python 3.6+ and runs on Linux, MacOS X and Windows.
  • A new environment can be created as following:
conda create -n env_datazets python=3.8
conda activate env_datazets
pip install datazets            # normal install
pip install --upgrade datazets # or update if needed
  • Alternatively, you can install from the GitHub source:
# Directly install from github source
pip install -e git://github.com/erdogant/datazets.git@0.1.0#egg=master
pip install git+https://github.com/erdogant/datazets#egg=master
pip install git+https://github.com/erdogant/datazets

# By cloning
git clone https://github.com/erdogant/datazets.git
cd datazets
pip install -U .

Import datazets

# Import library
import datazets as dz
# Import data set
df = dz.get('titanic')

Example:

# Import from url
url='https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data'
df = dz.get(url=url, sep=',')

Citation

Please cite in your publications if this is useful for your research (see citation).

Maintainers

Contribute

  • All kinds of contributions are welcome!
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Licence

See LICENSE for details.

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

datazets-0.1.9.tar.gz (54.1 kB view hashes)

Uploaded Source

Built Distribution

datazets-0.1.9-py3-none-any.whl (51.3 kB view hashes)

Uploaded 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