Manage and automatize datasets for data science projects.
Project description
# Dataset Manager
Manage and automatize your datasets for your project with YAML files.
Create a file *name.yaml* with content in your dataset directory:
```
name: your_dataset_name
src: https://raw.githubusercontent.com/pcsanwald/kaggle-titanic/master/train.csv
description: this dataset is a test dataset
format: csv
```
*name*: is the name for dataset reference.
*src*: is location from dataset.
*description*: describe your dataset to remember later.
*format*: pandas read format following `read_<format>` as described here: https://pandas.pydata.org/pandas-docs/stable/reference/io.html.
Each dataset is a YAML file inside dataset directory.
## List all Datasets
```
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.list_datasets() ## return a List with all datasets from dataset path
```
## Get one Dataset
```
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.get_dataset(name) ## Get dataset as Pandas DataFrame
```
Manage and automatize your datasets for your project with YAML files.
Create a file *name.yaml* with content in your dataset directory:
```
name: your_dataset_name
src: https://raw.githubusercontent.com/pcsanwald/kaggle-titanic/master/train.csv
description: this dataset is a test dataset
format: csv
```
*name*: is the name for dataset reference.
*src*: is location from dataset.
*description*: describe your dataset to remember later.
*format*: pandas read format following `read_<format>` as described here: https://pandas.pydata.org/pandas-docs/stable/reference/io.html.
Each dataset is a YAML file inside dataset directory.
## List all Datasets
```
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.list_datasets() ## return a List with all datasets from dataset path
```
## Get one Dataset
```
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.get_dataset(name) ## Get dataset as Pandas DataFrame
```
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
dataset_manager-0.0.3.tar.gz
(2.4 kB
view details)
File details
Details for the file dataset_manager-0.0.3.tar.gz
.
File metadata
- Download URL: dataset_manager-0.0.3.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fad500f9035d2cf9498b7119d2974a429beccc85a310a3c45c94ae5b633f763 |
|
MD5 | 23799fa60e1886533371bb2a77bf651c |
|
BLAKE2b-256 | daaccdf2d03886ec2e4f1f5eef714d309e5a42e4ff04ffb31a8f4d12feaf94c4 |