from dataset_tools.container import *
import pandas as pd
dataset-tools
Provide tools for your dataset such as anonymization, obfuscation, …
This file will become your README and also the index of your documentation.
Install
pip install dataset-tools
for the moment
pip install -e .
How to use
En partant de n’importe quel dataset
= pd.DataFrame([[0, 1, 2, 3, 4], [5, 6, 7, 8, 9]], columns=['A', 'B', 'C', 'D', 'E'])
df_basic df_basic
A | B | C | D | E | |
---|---|---|---|---|---|
0 | 0 | 1 | 2 | 3 | 4 |
1 | 5 | 6 | 7 | 8 | 9 |
Un container de dataset qui s’initialise en passant une clé
et un dataset
= Container('hyper_basic', df_basic)
basic basic
Container for "hyper_basic" of shape (2, 5)
And it has a length of
basic.longueur()
2