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

IF you want a new version :

pip install update Datasis

How to Use

1. Import the Class and Create an Object

from Datasis import Datasis as da

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


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

datasis-0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

datasis-0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file datasis-0.1.tar.gz.

File metadata

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

File hashes

Hashes for datasis-0.1.tar.gz
Algorithm Hash digest
SHA256 3cb26a5a3d467f60131d3748cc19cece2ba3cb2c6a56db95a2d900b094c5c406
MD5 0bc70b804640930493c0c50d75374eb2
BLAKE2b-256 04cc8996354e6c45fecb48d84fd757964cea7136783fa4d01ab0b435cccb7775

See more details on using hashes here.

File details

Details for the file datasis-0.1-py3-none-any.whl.

File metadata

  • Download URL: datasis-0.1-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-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15bcce9888bdc98a9a21daee89ceb7f6ef9ebf6b04b83984fcbe236f7e914c0c
MD5 b0746dd59f4f25a309eb4fed4e05dd13
BLAKE2b-256 b11f77d97b3f7b7299c16454b585279418e8f10aee669eadbc5fa4028063c592

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