Skip to main content

A powerful Python package for data analysis and manipulation.

Reason this release was yanked:

package didnt build correctly

Project description

DataMason

DataMason is a powerful Python package designed to make data analysis and manipulation easier for data professionals of all skill levels. It offers a collection of tools to clean, transform, analyze, and visualize datasets, allowing users to uncover insights and make informed decisions.

Features

  • Data Cleaning: Easily identify and address data quality issues.
  • Data Transformation: Reshape and transform datasets to fit your analysis needs.
  • Data Analysis: Perform insightful data analysis to uncover patterns and trends.
  • Data Visualization: Create meaningful visualizations that help communicate findings.
  • Data Validation: Validate data based on common rules and constraints.

Installation

Install DataMason using pip:

pip install datamason

Usage

Importing the Package

import datamason as dm

Data Cleaning

# Deduplicate rows
cleaned_data = dm.prepare.deduplicate(data)

# Fill gaps (missing values)
filled_data = dm.prepare.fill_gaps(cleaned_data)

# Trim outliers
final_data = dm.prepare.trim_outliers(filled_data)

Data Transformation

# Reshape data
reshaped_data = dm.transform.reshape_data(final_data)

# Encode categorical variables
encoded_data = dm.transform.encode_cats(reshaped_data)

Data Analysis

# Summarize the data
summary = dm.analyze.summarize(encoded_data)

# Find correlations
correlations = dm.analyze.find_correlations(encoded_data)

Data Visualization

# Plot a line chart
dm.visualize.plot_line(encoded_data, 'time', 'value')

# Plot a scatter chart
dm.visualize.plot_scatter(encoded_data, 'feature1', 'feature2')

Data Validation

# Define validation rules
rules = {
    'age': {'type': int, 'min_value': 0, 'max_value': 100},
    'name': {'type': str},
}

# Validate the data
is_valid, errors = dm.validate(encoded_data, rules)

Contributing

We welcome contributions from the community to help improve DataMason. If you're interested in contributing, please follow these steps:

  1. Share Your Ideas: Before making significant changes, send an email with your thoughts and recommendations to the contact below. We'll discuss your ideas and how they fit into the project.

  2. Fork the Repository: If your idea is approved, you can fork the repository and work on your changes.

  3. Submit a Pull Request: Once you've made your changes, submit a pull request for review. Please ensure that your code adheres to the existing coding standards and includes appropriate tests and documentation.

  4. Review and Merge: We'll review your pull request and provide feedback if necessary. Upon approval, your contribution will be merged into the project.

  5. Acknowledgment: Contributors are valued members of our community, and we'll acknowledge your hard work in our project documentation.

For any questions or further guidance, please contact us at thyripian@gmail.com](mailto:thyripian@gmail.com).

Thank you for considering contributing to DataMason!

License

MIT License

Contact

thyripian@gmail.com

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

DataMason-0.1.0a1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

DataMason-0.1.0a1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file DataMason-0.1.0a1.tar.gz.

File metadata

  • Download URL: DataMason-0.1.0a1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for DataMason-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 83de750eb2326114fc6157598c31d7d50b591d3f8219b2909b11be4deee9f746
MD5 a8853bcec7639ffe17c1dc6a4c636e7e
BLAKE2b-256 5e1645a9f65c958d18c13d1cd4a0c61e9ae0e424be608c4695c02f5a846d0c08

See more details on using hashes here.

File details

Details for the file DataMason-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: DataMason-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for DataMason-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 86190066a1a2a7249f50b18b07343d1e7849d8d5b74d58e8370ec9869f2cbc31
MD5 4be8032d9cddf6ff53556494cf9390ed
BLAKE2b-256 42911f9ce4441ee3486ed64c6325aa3620897654093ff053ceb5ff5031d191ba

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