The `DataAnalysisToolkit` project is a Python-based data analysis tool designed to streamline various data analysis tasks. It allows users to load data from CSV files and perform operations such as statistical calculations, outlier detection, data cleaning, and visualization.
Project description
Data Analysis Toolkit
DataAnalysisToolkit is a comprehensive Python package offering a suite of tools designed for efficient data analysis. This toolkit simplifies tasks such as loading CSV data, performing statistical analysis, cleaning data, and visualizing results. It's an ideal tool for data analysts, scientists, and anyone looking to dive into data exploration and machine learning.
Features
- Data Loading: Load data directly from CSV files into a Python environment.
- Statistical Analysis: Perform calculations like mean, median, mode, and trimmed mean.
- Outlier Detection: Identify outliers using the z-score method.
- Data Cleaning: Handle missing values, drop duplicates, and encode categorical data.
- Data Splitting: Easily split data into training and testing sets for machine learning models.
- Data Visualization: Create histograms and other plots to explore data visually.
- Data Export: Export cleaned and processed data back into CSV format.
Enhanced Functionalities
- Advanced Visualization: Utilize a dedicated visualizer for creating a variety of insightful data plots.
- Feature Engineering: Enhance your data with new, informative features.
- Model Evaluation: Assess the performance of machine learning models.
- Report Generation: Automatically generate comprehensive HTML reports with summaries and visualizations.
- Data Imputation: Implement advanced imputation techniques to handle missing data.
This toolkit is an asset for conducting preliminary data analysis, and it seamlessly integrates into larger data processing workflows.
Getting Started
Here's how you can get started with DataAnalysisToolkit:
from data_analysis_toolkit import DataAnalysisToolkit
# Initialize the analyzer with the path to a CSV file
analyzer = DataAnalysisToolkit('../data/test.csv')
# Calculate the mean, median, mode, and trimmed mean of a column
statistics = analyzer.calculate_budget_statistics('column_name')
print(statistics)
# Detect outliers in a column using the z-score method
outliers = analyzer.detect_outliers('column_name')
print(outliers)
# Handle missing values in a column
analyzer.handle_missing_values('column_name', strategy='fill', fill_value=0)
# Drop duplicate rows in the DataFrame
analyzer.drop_duplicates()
# Encode categorical features in the DataFrame
analyzer.encode_categorical_features()
# Split the data into training and testing sets
X_train, X_test, y_train, y_test = analyzer.split_data('target_column')
# Plot a histogram of a column
analyzer.plot_data('column_name')
# Export the data to a CSV file
analyzer.export_data('new_file.csv')
Installation
Install DataAnalysisToolkit using pip:
pip install dataanalysistoolkit
Documentation
For detailed documentation, examples, and usage guides, please visit DataAnalysisToolkit Documentation.
Contributing
Contributions are welcome! For guidelines on how to contribute, please refer to our Contribution Guide.
License
DataAnalysisToolkit is open-sourced under the MIT License. For more details, see the LICENSE file.
Developed with ❤ by the DataAnalysisToolkit Team.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dataanalysistoolkit-1.0.1.tar.gz
.
File metadata
- Download URL: dataanalysistoolkit-1.0.1.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb1e0afcda1405a26750cabf9bebe1e6ad87e8fefcd72dee24aad07d989d452 |
|
MD5 | 8c1a62fe85e5881e20e95130997ca1a2 |
|
BLAKE2b-256 | f609c24436a47664c8ad5e9f527472278ad3b8b5f6e469e50e6420e1d3a2624b |
File details
Details for the file dataanalysistoolkit-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: dataanalysistoolkit-1.0.1-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e622d91a14569031b0ad1204aa651e3b375152a86981ef01cca30726fe45f13 |
|
MD5 | 5f7a5380325a321474d7173d2094c4c0 |
|
BLAKE2b-256 | 0db2bece34061fd3ea264eda95fcf5dc50ddd7369f1c5d35f037298aec21c738 |