# PrepDatosBD
## Read, Preprocess and Visualize your data
This library aims to simplify and agilize the process of data preprocessing and cleaning, which is critical in any data analysis or machine learning project. By providing a variety of tools and functions, users can work more efficiently and ensure the quality of the data they are working with.
## Required libraries
```sh
- import pandas as pd
- import matplotlib.pyplot as plt
- from sklearn.impute import KNNImputer
- import seaborn as sns
- import json
- import csv
- from openpyxl import load_workbook
- import xlrd
- from openpyxl.utils.exceptions import InvalidFileException
- import xml.etree.ElementTree as ET
- import numpy as np
```
## Available classes
## Initial class: Preprocess
This class is used to perform basic data processing by means of different specific functions.
*def describe_var(self, variables, tipo_var):*
> This method will be used to describe one or more columns from a dataframe.
The description will be: Count, min, pct 25, mean, median, pct 75, max, std, NaN count and not NaN count.
*def view_nan_table(self):*
> This method is used to generate and view a NaN table. It contains the number of missing values and the percentage of them for each column.
*def drop_column(self, column_list):*
> This method will be used to drop one or more columns from a dataframe.
*def inplace_missings(self, column, method, n_neighbors=2):*
> This method inplaces missing values of a given table with the method wanted.
## Inherited class: ReadPreprocess
This inherited class is used to perform more advanced data processing by means of different specific functions.
*def file_to_dataframe(self, path):*
> This method will be used parse files from several extensions to a pandas dataframe.
*def outlier_detection(self, df, column_list=[]):*
> This method will be used to plot and detect outliers from one or more columns.
*def view_nan_graph(self, nan_table):*
> This method is used to graph the missing values of a dataframe.
## License
MIT
*Free Software, Hell Yeah!*
Raw data
{
"_id": null,
"home_page": "https://github.com/gabrielaybarra/PrepDatosBD.git",
"name": "PrepDatosBD",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Visualize,Preprocess,Read",
"author": "Nerea Zuaznabar & Gabriela Ybarra",
"author_email": "nerea.zuaznabar@alumni.mondragon.edu, gabriela.ybarra@alumni.mondragon.edu",
"download_url": "https://files.pythonhosted.org/packages/5e/ef/b49a67270ffc0f9909b369c6eadf97d4327792c3f793b7cb995f018b4024/PrepDatosBD-0.8.tar.gz",
"platform": null,
"description": "# PrepDatosBD\n## Read, Preprocess and Visualize your data\n\nThis library aims to simplify and agilize the process of data preprocessing and cleaning, which is critical in any data analysis or machine learning project. By providing a variety of tools and functions, users can work more efficiently and ensure the quality of the data they are working with.\n\n## Required libraries\n```sh\n- import pandas as pd\n- import matplotlib.pyplot as plt\n- from sklearn.impute import KNNImputer\n- import seaborn as sns\n- import json\n- import csv\n- from openpyxl import load_workbook\n- import xlrd\n- from openpyxl.utils.exceptions import InvalidFileException\n- import xml.etree.ElementTree as ET\n- import numpy as np\n```\n\n## Available classes\n## Initial class: Preprocess\nThis class is used to perform basic data processing by means of different specific functions.\n\n*def describe_var(self, variables, tipo_var):*\n> This method will be used to describe one or more columns from a dataframe. \nThe description will be: Count, min, pct 25, mean, median, pct 75, max, std, NaN count and not NaN count.\n\n*def view_nan_table(self):*\n> This method is used to generate and view a NaN table. It contains the number of missing values and the percentage of them for each column.\n\n*def drop_column(self, column_list):*\n> This method will be used to drop one or more columns from a dataframe.\n\n*def inplace_missings(self, column, method, n_neighbors=2):*\n> This method inplaces missing values of a given table with the method wanted.\n\n## Inherited class: ReadPreprocess\nThis inherited class is used to perform more advanced data processing by means of different specific functions.\n\n*def file_to_dataframe(self, path):*\n> This method will be used parse files from several extensions to a pandas dataframe.\n\n*def outlier_detection(self, df, column_list=[]):*\n> This method will be used to plot and detect outliers from one or more columns.\n\n*def view_nan_graph(self, nan_table):*\n> This method is used to graph the missing values of a dataframe.\n\n## License\n\nMIT\n\n*Free Software, Hell Yeah!*",
"bugtrack_url": null,
"license": "MIT",
"summary": "This library aims to simplify and agilize the process of data preprocessing and cleaning, which is critical in any data analysis or machine learning project. By providing a variety of tools and functions, users can work more efficiently and ensure the quality of the data they are working with.",
"version": "0.8",
"project_urls": {
"Download": "https://github.com/gabrielaybarra/PrepDatosBD/archive/refs/tags/0.8.tar.gz",
"Homepage": "https://github.com/gabrielaybarra/PrepDatosBD.git"
},
"split_keywords": [
"visualize",
"preprocess",
"read"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5eefb49a67270ffc0f9909b369c6eadf97d4327792c3f793b7cb995f018b4024",
"md5": "cddff3bc7356855d6186e243ea29ff89",
"sha256": "5554011e52621cdcb71519776c4f75f65c3855c0b2fbcc7aa03bc9261998ff2f"
},
"downloads": -1,
"filename": "PrepDatosBD-0.8.tar.gz",
"has_sig": false,
"md5_digest": "cddff3bc7356855d6186e243ea29ff89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5036,
"upload_time": "2023-11-13T13:44:51",
"upload_time_iso_8601": "2023-11-13T13:44:51.225857Z",
"url": "https://files.pythonhosted.org/packages/5e/ef/b49a67270ffc0f9909b369c6eadf97d4327792c3f793b7cb995f018b4024/PrepDatosBD-0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-13 13:44:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gabrielaybarra",
"github_project": "PrepDatosBD",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "prepdatosbd"
}