Libreria preproceso
Project description
PBLgrupo6
Preprocessing library PBL group 6
Prerequisites
For this code, the following libreries are required:
- numpy
- pandas
- scipy
- sys
- time
How to use
These are the steps you need to follow to clean your dataset:
- Introduce your path in the class. --> ex: Variable = libreria.DataAnalysis(path).
- Read your data with pandas:
- CSV: use the function Variable.csv().
- Excel: usa the function Variable.excel().
- Start cleaning your dataset using Variable.analyze().
- Visualize the dataframe using the function Variable.visualize()
- Save the dataframe using Variable.save()
If you want to see this information while running the code, use the function Variable.info()
Extra: These analysis criteria can be changed:
- variable 1 = Percentage of empty data to recommend deleting the column (0.3 by default)
- variable 2 = Normal distribution displacement to assume skewed distribution (0.05 by default) To do so, create a file named 'values.txt' with the values separated with commas and without any space. Example: "0.3,0.05"
The separation character for the csv can be changed by introducing a diferent character in the function.
Code example:
import libreriaclases as lb
Data1=lb.DataAnalysis('example.csv')
Data1.csv(sep = ',')
Data1.analyze()
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libreriaclases-3.7.tar.gz.
File metadata
- Download URL: libreriaclases-3.7.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcddb1bc0f20eac009c2c289352beff2c439c1fa4970ef8f71f950377a5f181e
|
|
| MD5 |
b945d8d133a35f7b85cfb72ca0cca33c
|
|
| BLAKE2b-256 |
a4d22480adf0648316b7339c07d9a3bb7d2bab6388b8f500c2dd331fa79fed91
|
File details
Details for the file libreriaclases-3.7-py3-none-any.whl.
File metadata
- Download URL: libreriaclases-3.7-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c30c4b59d187525f2cd343f5923cedacb8744a1a5dd5b4871b417eaa1c110aa6
|
|
| MD5 |
071045bb9d6c9c3b623a07840b48a8b6
|
|
| BLAKE2b-256 |
9f7a9eef3c4e477883fab1dbbcb4414ea2b74d85ba237ad55d264045562e04fd
|
File details
Details for the file libreriaclases-3.7--none-any.whl.
File metadata
- Download URL: libreriaclases-3.7--none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags:
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5780f7b947f3291a1a3d95ae27fa3eac393c4b53c98e5694d67a2b63692da4ab
|
|
| MD5 |
96ac8be47deda22711e52d22fb95d05b
|
|
| BLAKE2b-256 |
0bee76aa8ca11d5385d9d5fb6883951270512c4556108f9d5ce5bfa81029d7a4
|