Returns folder and sub folders from the data table in csv. Basically a decision tree with folders.
Project description
Data_FolderSplit
_____________________________________________Segregate the data table in a csv file into folders containing sub folders of sliced/ segmented data for a physical representation of a decision tree.
Instructions.
To install the package, perform:
pip install Data_FolderSplit
How to use the methods:
1. To create the folder structure:
#Importing Library.
import Data_FolderSplit as DFS
# filepath -> File path for the csv.
# max_uniques -> Max uniques allowed.
# output_folderpath -> Folder within which sub folders will be formed.
#For example:
filepath = r'D:\Everything\is\BS\Datasheet1.csv'
max_uniques = 4
output_folderpath = r'D:\ChesterBennington\is\a\Legend'
#To create the folders with sub folders.
using_maxUniques(filepath, max_uniques, output_folderpath)
Have fun. :-)
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
Data_FolderSplit-1.2.tar.gz
(16.1 kB
view hashes)
Built Distribution
Close
Hashes for Data_FolderSplit-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09bbd4dd31f205bfe8b626e3f27eb6c24cab6dd439b678862bd8714ec7aab6ae |
|
MD5 | 872f4af52528504e16b1578565420a07 |
|
BLAKE2b-256 | 5526c25b2e340512cd3c3b79b5077bb4fd4c32e6c750024724b6d66306342489 |