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
parent_folder = 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.1.tar.gz
(16.1 kB
view hashes)
Built Distribution
Close
Hashes for Data_FolderSplit-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c328ee5d4ea1d03460f514ba0d52678f52a8aeb7dd277e99aa71b2a1c89bcc0e |
|
MD5 | efd35482b6dc320f77f3c3fa80e4cb35 |
|
BLAKE2b-256 | ad08caadd4549e94966b3f9795b8b24a247f213a06c9ad91bdebf65032672254 |