A comprehensive data analysis library for Python
Project description
DataLib: Python Data Analysis Library
Overview
DataLib is a comprehensive Python library designed to simplify data manipulation, statistical analysis, visualization, and machine learning tasks. It provides an intuitive and powerful set of tools for data scientists, researchers, and analysts.
Features
Data Manipulation
- CSV file loading and saving
- Data filtering
- Missing value handling
- Data normalization
Statistical Analysis
- Descriptive statistics
- Correlation analysis
- T-tests
- Chi-square tests
Data Visualization
- Bar plots
- Histograms
- Scatter plots
- Correlation heatmaps
Advanced Analysis
- Linear and Polynomial Regression
- Classification Algorithms (KNN, Decision Trees)
- Clustering (K-means)
- Dimensionality Reduction (PCA)
Installation
pip install datalib
Quick Examples
Data Manipulation
from datalib.data_manipulation import DataManipulation
# Load CSV
df = DataManipulation.load_csv('data.csv')
# Filter data
filtered_df = DataManipulation.filter_data(df, {'age': lambda x: x > 25})
Statistical Analysis
from datalib.statistics import StatisticalAnalysis
# Calculate descriptive stats
stats = StatisticalAnalysis.descriptive_stats(df['column'])
# Correlation matrix
corr_matrix = StatisticalAnalysis.correlation(df)
Visualization
from datalib.visualization import DataVisualization
# Create bar plot
DataVisualization.bar_plot(df, 'category', 'value')
# Scatter plot
DataVisualization.scatter_plot(df, 'x_column', 'y_column')
Contributing
Contributions are welcome! Please check our GitHub repository for guidelines.
License
This project is licensed under the MIT License.
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 Distribution
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 datalib_ha-0.1.0.tar.gz.
File metadata
- Download URL: datalib_ha-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31d25450388ef2ad01ce06e6682d755605de3f1e05660ffc8cd04c98c82d074
|
|
| MD5 |
89ea764e1144dd43a53af674afb4c641
|
|
| BLAKE2b-256 |
7f7e0c3b57a1af64d0d39258249b0581f5ada1b77f2a423b80aba24623b91d46
|
File details
Details for the file datalib_ha-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datalib_ha-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f93e2ba51624f172f8efc1fe78d2ce4586b4d7d18599eaea3fcf3ea5ae8d36d
|
|
| MD5 |
639dc52f4f8d9760a5c99252ff691e24
|
|
| BLAKE2b-256 |
47564fe2b09513bad595b5bf5f41527b4b000cf9f0ad2baec9f919c314692f54
|