Skip to main content

A short description of your package

Project description

Datasis - A Python Library for Data Analysis

Introduction

Datasis is a data analysis library built using pandas, numpy, matplotlib, and seaborn. It provides tools for loading, cleaning, analyzing data, handling outliers and duplicates, as well as filtering, grouping, and sorting data.

Requirements

Make sure you have the following libraries installed before using Datasis:

pip install Datasis

How to Use

1. Import the Class and Create an Object

from data_analysis import Datasis

da = Datasis()

2. Load Data

da.load_data("data.csv")  # Or any Excel or JSON file

3. Display Data

print(da.show_data())  # Display the first 5 rows
print(da.tail())       # Display the last 5 rows

4. Get Data Info and Statistics

print(da.get_info())
print(da.get_statistics())

5. Handle Missing Values

print(da.missing_values())  # Show count of missing values per column
print(da.fill_missing(strategy='mean'))  # Replace missing values with the mean

6. Detect and Handle Outliers

print(da.outlier_detection("column_name"))  # Detect outliers
print(da.drop_outliers("column_name"))  # Remove outliers

7. Remove Duplicates

print(da.drop_duplicates())

8. Filter, Group, and Sort Data

print(da.filter_data("column_name > 50"))  # Filter data based on a condition
print(da.group_by("category"))  # Group data by a specific column
print(da.sort_data("column_name", ascending=False))  # Sort data in descending order

9. Save Data After Modifications

da.save_data("cleaned_data.csv")

Contribution

If you'd like to improve the code or add new features, feel free to submit a pull request on GitHub.

License

This library is licensed under the MIT License. See the LICENSE file for more information.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests to improve the library.

Author

Created by Ibrahem abo kila. For any inquiries, please contact me at ibrahemabokila@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

datasis_lib-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

datasis_lib-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file datasis_lib-0.1.0.tar.gz.

File metadata

  • Download URL: datasis_lib-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for datasis_lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c164dea6d7fa50f379bc9d242b59ac6fc70115ecf8c6e51ef94e136130d35b58
MD5 eddb7a1ee0ad25c35169d2f0bef98910
BLAKE2b-256 3ce4eb41d22a6bfe8fbedad9e2b636c441e75112ede8fa14074de23001c231fb

See more details on using hashes here.

File details

Details for the file datasis_lib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: datasis_lib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for datasis_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 657cc80ab74fd2ce27e1501aa16c6dcdb5031b16c391d41b31109813dea71274
MD5 09aebf1667fab4a1b321922d4f5df46e
BLAKE2b-256 eb72ac4eb365a1bc0f3f4264303a78586f54b3a7f784525942ef1c5585005731

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