Manage and automatize datasets for data science projects.
Project description
Dataset Manager
Manage and automatize your datasets for your project with YAML files.
How it Works
This project create a file called identifier.yaml in your dataset directory with these fields:
source: https://raw.githubusercontent.com/pcsanwald/kaggle-titanic/master/train.csv
description: this dataset is a test dataset
format: csv
identifier: is the identifier for dataset reference is the file name with yaml extension.
source: is location from dataset.
description: describe your dataset to remember later.
Each dataset is a YAML file inside dataset directory.
Installing
With pip just:
pip install dataset_manager
With conda:
conda install dataset_manager
Using
You can manage your datasets with a list of commands and integrate with Pandas or other data analysis tool.
List all Datasets
Return a List with all Datasets from dataset path
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.list_datasets()
Get one Dataset
Get Dataset line as dict
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.get_dataset(identifier)
Create a Dataset
Create a Dataset with every information you want inside dataset_path defined.
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.create_dataset(identifier, source, description, **kwargs)
Remove a Dataset
Remove Dataset from dataset_path
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.remove_dataset(identifier)
Contributing
Just make pull request and be happy!
Let's grow together ;)
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
Built Distributions
Hashes for dataset_manager-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f6dc5565f0b5bd9fcc3fce5b65f97bd6276298810a79f9b4a4bae41054ca0d |
|
MD5 | 20614c8e676433bf96eb38bcf7b982cb |
|
BLAKE2b-256 | c2d662c30dd13f2f07f20644bdc7596b65d04905bb9fbb007873ddffb9bf490a |
Hashes for dataset_manager-0.0.10-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f67de0d089fdb499650d32465a3a16a53a9194786db49f28c128f06cfbbd327 |
|
MD5 | ac225e1b5eb4b0e8cf875535e2e2a519 |
|
BLAKE2b-256 | 4e9b4da05d28e529a2f7974135886cf00a7a7a68905022c78ec8e0a1bf8ce252 |