Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datalib_ha-1.0.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datalib_ha-1.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file datalib_ha-1.0.0.tar.gz.

File metadata

  • Download URL: datalib_ha-1.0.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.7

File hashes

Hashes for datalib_ha-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26b201b223302c1bbe670d19d37c171eb9d423cc0f29ef1659dd4801b20c7fb9
MD5 9d85080490ecfb65b58c25417ac2e5c8
BLAKE2b-256 cefceb888699fd1399a8ccdc401e4b8803dfb69dc0c73eea274a9d72a349db49

See more details on using hashes here.

File details

Details for the file datalib_ha-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: datalib_ha-1.0.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

Hashes for datalib_ha-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f748cd6bd3f4f1098c5f8d87171198869602690c58ac7e116be5612e7c79ef4
MD5 297a7c718538193b4fd39c113b73ccad
BLAKE2b-256 46350dc6fb4bf0ce4067b70c389ce9215a97c82f7e07cb37f56f8f39dfda7b21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page